Fix printf formats for size_t and goffset arguments.
[claws.git] / src / etpan / nntp-thread.c
index ccaede98d929b357c9218142eaed663335ae38d7..bf67cd004c0d2fb781392a81e41e8d840394741c 100644 (file)
@@ -136,7 +136,7 @@ static void nntp_logger(int direction, const char * str, size_t size)
        int i = 0;
 
        if (size > 256) {
-               log_print(LOG_PROTOCOL, "NNTP%c [data - %zd bytes]\n", direction?'>':'<', size);
+               log_print(LOG_PROTOCOL, "NNTP%c [data - %"G_GSIZE_FORMAT" bytes]\n", direction?'>':'<', size);
                return;
        }
        buf = malloc(size+1);