summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-14 17:09:01 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-14 17:09:01 +0000
commit55ec1a40e5f103737baaa16d098087e54aa7bca7 (patch)
tree44a4a42122bee6dba5a1c2b765aa8c8af82bd340 /src
parent06c2a1979a33998404b272d601da0c359d52494b (diff)
Fix compile warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11719 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/hmac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/hmac.cpp b/src/modules/m_spanningtree/hmac.cpp
index 348a453a6..335972003 100644
--- a/src/modules/m_spanningtree/hmac.cpp
+++ b/src/modules/m_spanningtree/hmac.cpp
@@ -102,7 +102,7 @@ std::string TreeSocket::RandString(unsigned int ilength)
if (f >= 0)
{
- if (read(f, randombuf, ilength) < ilength)
+ if (read(f, randombuf, ilength) < (int)ilength)
ServerInstance->Logs->Log("m_spanningtree", DEFAULT, "Entropy source has gone predictable (did not return enough data)");
close(f);
}