* added gcc printf format checking to wprintf
[citadel.git] / webcit / mainmenu.c
index dec9265d083518490ef88ea49b918bc169c1316c..14b3cedc3fb1e7e25af947bcfd6a2c39e4dafdcb 100644 (file)
@@ -221,7 +221,7 @@ void display_generic(void)
        wprintf("<br />\n");
 
        wprintf("<form method=\"post\" action=\"do_generic\">\n");
-       wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%ld\">\n", WC->nonce);
+       wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%d\">\n", WC->nonce);
 
        wprintf(_("Enter command:"));
        wprintf("<br /><input type=\"text\" name=\"g_cmd\" size=80 maxlength=\"250\"><br />\n");