diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/helperfuncs.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_check.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 13716b78b..279ccc5f4 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1445,7 +1445,7 @@ void Error(int status) log(DEFAULT,"Please report the backtrace lines shown below with any bugreport to the bugtracker at http://www.inspircd.org/bugtrack/"); size = backtrace(array, 30); strings = backtrace_symbols(array, size); - for (int i = 0; i < size; i++) { + for (size_t i = 0; i < size; i++) { log(DEFAULT,"[%d] %s", i, strings[i]); } free(strings); diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index c905a56e9..68c677d09 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -128,7 +128,7 @@ class cmd_check : public command_t * find how many connections from this user's IP -- unlike Asuka, * I define a clone as coming from the same host. --w00t */ - sprintf(ptr, "%l ", FindMatchingGlobal(i->second)); + sprintf(ptr, "%lu ", FindMatchingGlobal(i->second)); if (flags & UCMODE_OP) { |