From: Andre Noll Date: Mon, 20 Jul 2009 09:33:58 +0000 (+0200) Subject: Fix a gcc warning on 64 bit systems. X-Git-Tag: v0.4.0~49 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=1890c88605ee8dcd01080831f1e61b423aaad21b;p=paraslash.git Fix a gcc warning on 64 bit systems. client_common.c:175: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' --- diff --git a/client_common.c b/client_common.c index 108867bd..b6bfde9a 100644 --- a/client_common.c +++ b/client_common.c @@ -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: