]> jfr.im git - irc/quakenet/newserv.git/blobdiff - localuser/localuserchannel.c
searching for changes
[irc/quakenet/newserv.git] / localuser / localuserchannel.c
index 52701d719b93ad0d42067c9286b85b637130a422..86f4ed11e2b388c1fca80f5bd2e30dd11169d988 100644 (file)
@@ -12,6 +12,7 @@
 #include <stdio.h>
 #include <assert.h>
 #include <string.h>
+#include <stdint.h>
 
 MODULE_VERSION("");
 
@@ -917,7 +918,7 @@ void localsettopic(nick *np, channel *cp, char *topic) {
   }
   
   if (connected) {
-    irc_send("%s T %s %jd %jd :%s",source,cp->index->name->content,cp->timestamp,cp->topictime,(cp->topic)?cp->topic->content:"");
+    irc_send("%s T %s %jd %jd :%s",source,cp->index->name->content,(intmax_t)cp->timestamp,(intmax_t)cp->topictime,(cp->topic)?cp->topic->content:"");
   }
 }