summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.c
diff options
context:
space:
mode:
authorKarel Zak2012-05-23 10:20:19 +0200
committerKarel Zak2012-05-23 10:20:19 +0200
commitb6b0ea094b7cbc4b6e9efa81c8ea01a2dd656317 (patch)
tree6a6db2b15ac98193bd36cbf86ec8ca4887bbb222 /text-utils/hexdump.c
parentlast: use min() from c.h (diff)
downloadkernel-qcow2-util-linux-b6b0ea094b7cbc4b6e9efa81c8ea01a2dd656317.tar.gz
kernel-qcow2-util-linux-b6b0ea094b7cbc4b6e9efa81c8ea01a2dd656317.tar.xz
kernel-qcow2-util-linux-b6b0ea094b7cbc4b6e9efa81c8ea01a2dd656317.zip
hexdump: fix comparison of distinct pointer types
display.c: In function ‘get’: display.c:262:117: warning: comparison of distinct pointer types lacks a cast [enabled by default] Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/hexdump.c')
-rw-r--r--text-utils/hexdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/hexdump.c b/text-utils/hexdump.c
index 6f5335900..90c2d7757 100644
--- a/text-utils/hexdump.c
+++ b/text-utils/hexdump.c
@@ -46,7 +46,7 @@
#include "closestream.h"
FS *fshead; /* head of format strings */
-int blocksize; /* data block size */
+ssize_t blocksize; /* data block size */
int exitval; /* final exit value */
ssize_t length = -1; /* max bytes to read */