From: Andre Noll Date: Fri, 1 Jun 2007 09:50:02 +0000 (+0200) Subject: Trivial %d -> %zu format string fix X-Git-Tag: v0.2.17~60 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=e3728fb63092fa2afdb9044cf3610c677f34b890;p=paraslash.git Trivial %d -> %zu format string fix It fixes command.c:879: warning: int format, different type arg (arg 4) --- diff --git a/command.c b/command.c index 2bd10191..69983c3f 100644 --- a/command.c +++ b/command.c @@ -876,7 +876,7 @@ int handle_connect(int fd, struct sockaddr_in *addr) if (ret <= 0) goto err_out; numbytes = ret; - PARA_DEBUG_LOG("sending %d byte challenge\n", numbytes); + PARA_DEBUG_LOG("sending %zu byte challenge\n", numbytes); /* We can't use send_buffer here since buf may contain null bytes */ ret = send_bin_buffer(fd,(char *) crypt_buf, numbytes); if (ret < 0)