* msgnum is a long. format it like that.
[citadel.git] / webcit / notes.c
index ffd6f33af9ce8a9e67d9f9723764cd9122652302..0d790ec7a86f89bcc3c1cf79de2dd6b7effdce54 100644 (file)
@@ -68,11 +68,11 @@ void display_note(long msgnum)
                wprintf ("</script>\n");
        }
        else {
-               wprintf ("<IMG ALIGN=MIDDLE src=\"static/storenotes_48x.gif\" id=\"note_%s\" ", msgnum); 
+               wprintf ("<IMG ALIGN=MIDDLE src=\"static/storenotes_48x.gif\" id=\"note_%ld\" ", msgnum); 
                wprintf ("class=\"notes\">\n");
                wprintf ("<script type=\"text/javascript\">\n");
 //             wprintf ("//<![CDATA[\n");
-               wprintf ("new Draggable (\"note_%s\", {revert:true})\n", msgnum);
+               wprintf ("new Draggable (\"note_%ld\", {revert:true})\n", msgnum);
 //             wprintf ("//]]>\n");
                wprintf ("</script>\n");
        }