aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/src/crc32.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-12-09 08:28:03 -0500
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-09 17:08:02 +0200
commitc918deda83f257d379dc62d36ab176a1b5f5c619 (patch)
tree6bc47dfec17bca2bc7d81fd6a6aebd0b0cde2c4b /ubi-utils/src/crc32.c
parenta8c858c45470aa6165acec2b2a3ca156124fdb2e (diff)
ubiformat.c: fix printf(%d, size_t) warning
A size_t should be printed using %zu (unsigned size_t) rather than %d. This fixes the following warning on my system: gcc -O2 -Werror -Wall -Iinclude -Isrc -I../../include src/ubiformat.c -c -o ubiformat.o cc1: warnings being treated as errors src/ubiformat.c: In function ‘read_all’: src/ubiformat.c:345: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ src/ubiformat.c:352: error: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ make: *** [ubiformat.o] Error 1 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/crc32.c')
0 files changed, 0 insertions, 0 deletions