- declare *printf format specifiers if gcc detected
[citadel.git] / citadel / imap_tools.c
index c205dbd35bbfc07909e159e2c2a32c36a68cfa37..4f9809879a30262213e6fd84f8b88be96c81b724 100644 (file)
@@ -41,7 +41,7 @@ void imap_strout(char *buf)
        }
 
        if (is_literal) {
-               cprintf("{%d}\r\n%s", strlen(buf), buf);
+               cprintf("{%ld}\r\n%s", strlen(buf), buf);
        } else {
                cprintf("\"%s\"", buf);
        }