From 5c66e30060c4bb62db928bdb6e557a23e2a32160 Mon Sep 17 00:00:00 2001 From: sin Date: Wed, 4 Jun 2014 12:12:18 +0100 Subject: [PATCH] Nuke a harmless warning --- dd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;