diff options
-rw-r--r-- | include/users.h | 2 | ||||
-rw-r--r-- | src/misc.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/users.h b/include/users.h index 2c10690c4..636b3ce6d 100644 --- a/include/users.h +++ b/include/users.h @@ -176,7 +176,7 @@ class CoreExport User : public Extensible void Logout(); /** Get the account the user is logged in using - * @reurn The account or NULL + * @return The account or NULL */ virtual NickCore *Account(); virtual const NickCore *Account() const; diff --git a/src/misc.cpp b/src/misc.cpp index cac6b8b08..263d45b5f 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -1308,9 +1308,9 @@ Anope::string Anope::Hex(const Anope::string &data) { const char hextable[] = "0123456789abcdef"; - int l = data.length(); + size_t l = data.length(); Anope::string rv; - for(int i=0; i < l; i++) + for (size_t i = 0; i < l; ++i) { unsigned char c = data[i]; rv += hextable[c >> 4]; |