commit 5c66e30060c4bb62db928bdb6e557a23e2a32160
parent 207ba019fda48ef7d84484afbfd56d327dd5e249
Author: sin <sin@2f30.org>
Date: Wed, 4 Jun 2014 12:12:18 +0100
Nuke a harmless warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;