summaryrefslogtreecommitdiff
path: root/recv_image.c
diff options
context:
space:
mode:
authorBrian Norris <norris@broadcom.com>2010-08-18 09:01:45 -0700
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-08-30 11:40:07 +0300
commitbbab4716b5925b17532f60ca66150021704fb3eb (patch)
tree531f54fde505d1bf7f7dd3eddcf685b877fd52e5 /recv_image.c
parenta611ba6b5f3ce8356c0e3ae62f0ebbee7d54f046 (diff)
mtd-utils: fix compiler warnings
Fixed several compiler warnings, mainly when compiling on 64-bit architectures (where "size_t"-related types are not necessarily 32-bit). Signed-off-by: Brian Norris <norris@broadcom.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'recv_image.c')
-rw-r--r--recv_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recv_image.c b/recv_image.c
index 35059b3..60b24b3 100644
--- a/recv_image.c
+++ b/recv_image.c
@@ -166,7 +166,7 @@ int main(int argc, char **argv)
break;
}
if (len < sizeof(thispkt)) {
- fprintf(stderr, "Wrong length %zd bytes (expected %lu)\n",
+ fprintf(stderr, "Wrong length %zd bytes (expected %zu)\n",
len, sizeof(thispkt));
continue;
}