Cleanup: fix various int/long format string errors.
[silc.git] / apps / irssi / src / silc / core / client_ops.c
index 16feddc7583a8b2c18dd200f736473b2a8ba6d92..cfefe3275300b7e98db354c1ec378c3128b751b9 100644 (file)
@@ -1677,7 +1677,7 @@ void silc_command_reply(SilcClient client, SilcClientConnection conn,
 
       if (idle && nickname) {
        memset(buf, 0, sizeof(buf));
-       snprintf(buf, sizeof(buf) - 1, "%lu %s",
+       snprintf(buf, sizeof(buf) - 1, "%u %s",
                 idle > 60 ? (idle / 60) : idle,
                 idle > 60 ? "minutes" : "seconds");