commit 5c66e30060c4bb62db928bdb6e557a23e2a32160
Author: sin <s...@2f30.org>
Date:   Wed Jun 4 12:12:18 2014 +0100

    Nuke a harmless warning

diff --git a/dd.c b/dd.c
index 9fdf6d9..f472c88 100644
--- a/dd.c
+++ b/dd.c
@@ -68,7 +68,7 @@ prepare_copy(struct dd_config *ddc, int *ifd, int *ofd)
                memset(&fst, 0, sizeof(fst));
                if (statfs(ddc->out, &fst) < 0 || fst.f_bsize == 0)
                        fst.f_bsize = 0x1000;
-               if (fst.f_bsize > st.st_blksize)
+               if ((unsigned long)fst.f_bsize > (unsigned long)st.st_blksize)
                        ddc->bs = fst.f_bsize;
                else
                        ddc->bs = st.st_blksize;


Reply via email to