]> git.tue.mpg.de Git - paraslash.git/commitdiff
Fix a gcc warning on 64 bit systems.
authorAndre Noll <maan@systemlinux.org>
Mon, 20 Jul 2009 09:33:58 +0000 (11:33 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 20 Jul 2009 09:33:58 +0000 (11:33 +0200)
client_common.c:175: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

client_common.c

index 108867bdec594444cf8eaf80629f981c35bcc461..b6bfde9a37f81143f9b2dec7e357907aa705c15f 100644 (file)
@@ -172,7 +172,7 @@ static void client_post_select(struct sched *s, struct task *t)
                if (t->error < 0)
                        goto err;
                ct->loaded = t->error;
-               PARA_INFO_LOG("<-- [challenge] (%d bytes)\n", ct->loaded);
+               PARA_INFO_LOG("<-- [challenge] (%zu bytes)\n", ct->loaded);
                ct->status = CL_RECEIVED_CHALLENGE;
                return;
        case CL_RECEIVED_CHALLENGE: