]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 376fe6b3cc66ab5965b05b1d479a7ba7b34fe0ed..499c0a88931d1712bff7c3b57fef5fa75c075be8 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 dc5989365120855ace93a38b9502c82947807411..ef3b1742decb54c69bf3d91857695e97ea4b6374 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,