* added GCC Format String checkers to the remaining printf alikes
[citadel.git] / webcit / notes.c
index 1945ae72a915f2e075cd48bd73afe7d3399b0b67..7478813d971ceae17c0b042a6a7d2c44045fc64d 100644 (file)
@@ -272,7 +272,7 @@ void ajax_update_note(void) {
        // Was this request a delete operation?  If so, nuke it...
        if (havebstr("deletenote")) {
                if (!strcasecmp(bstr("deletenote"), "yes")) {
-                       serv_printf("DELE %ld", msgnum);
+                       serv_printf("DELE %d", msgnum);
                        serv_getln(buf, sizeof buf);
                        begin_ajax_response();
                        wprintf("%s", buf);