summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-24 17:28:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-24 17:28:49 +0000
commit8b02407d93810de79cf62e7aee38e725912d63db (patch)
treef06eabeb9efd9b401a0c937e82753d68e91586a2 /src
parenteff0dafcf0ede888d99fd6dbcd8a4a3705fc23ec (diff)
Fix various typos and warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3907 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/helperfuncs.cpp2
-rw-r--r--src/modules/m_check.cpp2
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)
{