Fix some gcc warnings on x86_64.
authorAndre Noll <maan@systemlinux.org>
Mon, 2 Mar 2009 10:07:01 +0000 (11:07 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 2 Mar 2009 10:07:01 +0000 (11:07 +0100)
fecdec_filter.c
vss.c

index 376fe6b..499c0a8 100644 (file)
@@ -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 dc59893..ef3b174 100644 (file)
--- 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,