- declare *printf format specifiers if gcc detected
[citadel.git] / citadel / mime_parser.c
index 94a508cb3d2b051d21f17313cb19fe3b33b87d5c..fc8133df670e53f74c69afda529c07ded79f7f9f 100644 (file)
@@ -413,7 +413,7 @@ void the_mime_parser(char *partnum,
                /* Truncate if the header told us to */
                if ( (content_length > 0) && (length > content_length) ) {
                        length = content_length;
-                       lprintf(9, "truncated to %d\n", content_length);
+                       lprintf(9, "truncated to %ld\n", content_length);
                }
                
                mime_decode(partnum,