svn commit: r266137 - user/marcel/mkimg
Marcel Moolenaar
marcel at FreeBSD.org
Thu May 15 15:20:44 UTC 2014
Author: marcel
Date: Thu May 15 15:20:43 2014
New Revision: 266137
URL: http://svnweb.freebsd.org/changeset/base/266137
Log:
Compile on x86 (ILP32).
Modified:
user/marcel/mkimg/image.c
Modified: user/marcel/mkimg/image.c
==============================================================================
--- user/marcel/mkimg/image.c Thu May 15 15:17:44 2014 (r266136)
+++ user/marcel/mkimg/image.c Thu May 15 15:20:43 2014 (r266137)
@@ -80,7 +80,7 @@ image_copyin(lba_t blk, int fd, uint64_t
if (error)
break;
blk += bcnt;
- partial = (bcnt * secsz != rdsz) ? 1 : 0;
+ partial = ((ssize_t)(bcnt * secsz) != rdsz) ? 1 : 0;
}
free(buffer);
if (sizep != NULL)
More information about the svn-src-user
mailing list