From e77825db70787c9ddbbee3827e2bf6e4452ad7a4 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 2 Mar 2009 11:07:01 +0100 Subject: [PATCH] Fix some gcc warnings on x86_64. --- fecdec_filter.c | 2 +- vss.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, -- 2.39.5