summaryrefslogtreecommitdiff
path: root/src/chanserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chanserv.c')
-rw-r--r--src/chanserv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chanserv.c b/src/chanserv.c
index 94e704236..da135d748 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -2443,7 +2443,8 @@ char *cs_get_limit(ChannelInfo * ci)
if (ci->mlock_limit == 0)
return NULL;
- snprintf(limit, sizeof(limit), "%lu", ci->mlock_limit);
+ snprintf(limit, sizeof(limit), "%lu",
+ (unsigned long int) ci->mlock_limit);
return limit;
}