Trivial %d -> %zu format string fix
authorAndre Noll <maan@systemlinux.org>
Fri, 1 Jun 2007 09:50:02 +0000 (11:50 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 1 Jun 2007 09:50:02 +0000 (11:50 +0200)
It fixes

command.c:879: warning: int format, different type arg (arg 4)

command.c

index 2bd101919eafa22136926ff244d12d13866fabac..69983c3f13ac155909d2e4fb84ce53b62a51711d 100644 (file)
--- 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;
        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)
        /* 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)