summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-01-17 20:39:20 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-01-17 20:39:20 +0000
commitc6f79bc103609f23c53d789d1b725251a41740ee (patch)
tree6fd55eca3ac11934531c232e762d3c704ff4d643
parent22e03302919dd77612dbafcad50d4ecb41207f27 (diff)
- %lu conversion specifier has been used when it should be %u
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1759 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r--modules/m_stats.c2
-rw-r--r--src/messages.tab2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_stats.c b/modules/m_stats.c
index 32b0582..77b8d2c 100644
--- a/modules/m_stats.c
+++ b/modules/m_stats.c
@@ -934,7 +934,7 @@ stats_operedup(struct Client *source_p, int parc, char *parv[])
(int)(CurrentTime - target_p->localClient->last_privmsg));
}
- sendto_one(source_p, ":%s %d %s p :%lu OPER(s)",
+ sendto_one(source_p, ":%s %d %s p :%u OPER(s)",
from, RPL_STATSDEBUG, to, dlink_list_length(&oper_list));
}
diff --git a/src/messages.tab b/src/messages.tab
index 559a0af..66eb523 100644
--- a/src/messages.tab
+++ b/src/messages.tab
@@ -539,7 +539,7 @@ static struct NumericInfo replies[] = {
/* 510 */ {NULL, NULL, NULL},
/* 511 */ {NULL, NULL, NULL},
/* 512 */ {"ERR_TOOMANYWATCH", ":%s 512 %s %s :Maximum size for WATCH-list is %d entries", NULL},
-/* 513 */ {"ERR_WRONGPONG", ":%s 513 %s :To connect type /QUOTE PONG %lu", NULL},
+/* 513 */ {"ERR_WRONGPONG", ":%s 513 %s :To connect type /QUOTE PONG %u", NULL},
/* 514 */ {NULL, NULL, NULL},
/* 515 */ {NULL, NULL, NULL},
/* 516 */ {NULL, NULL, NULL},