From: Andre Date: Mon, 6 Mar 2006 20:57:27 +0000 (+0100) Subject: another %d -> %zd fix X-Git-Tag: v0.2.11~38^2~2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=f7bcc2f6c96ef5c42ad4038daea3fb323680e3f5 another %d -> %zd fix Noticed by Steffen Klassert --- diff --git a/net.c b/net.c index 0a0d8034..e8976451 100644 --- a/net.c +++ b/net.c @@ -73,7 +73,7 @@ static int sendall(int fd, const char *buf, size_t *len) total += n; bytesleft -= n; if (total < *len) - PARA_DEBUG_LOG("short write (%d byte(s) left)", + PARA_DEBUG_LOG("short write (%zd byte(s) left)", *len - total); } *len = total; /* return number actually sent here */