* added gcc printf format checking to wprintf
[citadel.git] / webcit / notes.c
index ccc530d2ed511c12afb9937435e60a3918ae6ac5..1945ae72a915f2e075cd48bd73afe7d3399b0b67 100644 (file)
@@ -285,7 +285,7 @@ void ajax_update_note(void) {
        v = vnote_new_from_msg(msgnum);
        if (!v) {
                begin_ajax_response();
-               wprintf("Cannot locate a vNote within message %ld\n", msgnum);
+               wprintf("Cannot locate a vNote within message %d\n", msgnum);
                end_ajax_response();
                return;
        }