Compilation warning fix.
[crypto.git] / apps / irssi / src / silc / core / silc-queries.c
index c946f56ddac8320926d1e35895fcd4811d694dc8..9daff3b01c4bbd21e41dc62acd101e1ba6ebac91 100644 (file)
@@ -613,7 +613,7 @@ void silc_query_attributes_print(SILC_SERVER_REC *server,
        snprintf(tmp, sizeof(tmp) - 1, "%s:%d (logged %s) idle %d seconds",
                 service.address, (unsigned int)service.port,
                 service.status ? "in" : "out",
-                service.idle);
+                (unsigned int)service.idle);
        printformat_module("fe-common/silc", server, NULL,
                           MSGLEVEL_CRAP, SILCTXT_ATTR_SERVICES, tmp);
       }