[hackers] [ubase] Nuke a harmless warning || sin
commit ca9870afb0c8fe416e90e08dfd38f361da634278
Author: sin <sin_AT_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..f3eeaf2 100644
--- a/dd.c
+++ b/dd.c
_AT_@ -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 (fst.f_bsize > (unsigned long)st.st_blksize)
ddc->bs = fst.f_bsize;
else
ddc->bs = st.st_blksize;
Received on Wed Jun 04 2014 - 13:16:44 CEST
This archive was generated by hypermail 2.3.0
: Wed Jun 04 2014 - 13:24:07 CEST