Nuke a harmless warning

This commit is contained in:
sin 2014-06-04 12:12:18 +01:00
parent 207ba019fd
commit 5c66e30060

2
dd.c
View File

@ -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;