From: Andre Noll Date: Mon, 2 Mar 2009 10:07:01 +0000 (+0100) Subject: Fix some gcc warnings on x86_64. X-Git-Tag: v0.3.4~56 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=e77825db70787c9ddbbee3827e2bf6e4452ad7a4 Fix some gcc warnings on x86_64. --- diff --git a/fecdec_filter.c b/fecdec_filter.c index 376fe6b3..499c0a88 100644 --- a/fecdec_filter.c +++ b/fecdec_filter.c @@ -304,7 +304,7 @@ static int dispatch_slice(char *buf, size_t len, struct fec_header *h, return 1; } -static int fecdec(char *buf, size_t len, struct filter_node *fn) +static ssize_t fecdec(char *buf, size_t len, struct filter_node *fn) { int ret; struct fec_header h; diff --git a/vss.c b/vss.c index dc598936..ef3b1742 100644 --- a/vss.c +++ b/vss.c @@ -771,7 +771,7 @@ static void vss_send(struct vss_task *vsst) continue; if (!compute_next_fec_slice(fc, vsst)) continue; - PARA_DEBUG_LOG("sending %d:%d (%zu bytes)\n", fc->group.num, + PARA_DEBUG_LOG("sending %d:%d (%u bytes)\n", fc->group.num, fc->slice.num, fc->slice.bytes); fc->fcp->send((char *)fc->enc_buf, fc->slice.bytes + FEC_HEADER_SIZE,