]> jfr.im git - irc/quakenet/newserv.git/blobdiff - localuser/localuserchannel.c
should always be %jd and cast to intmax_t to stop warning on 32bit (gcc 4.2.3) -warni...
[irc/quakenet/newserv.git] / localuser / localuserchannel.c
index 52701d719b93ad0d42067c9286b85b637130a422..bf52c4f3b9fac928e3ad0c272f3f0cc10428a923 100644 (file)
@@ -917,7 +917,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:"");
   }
 }