summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.h
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.h
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.h')
-rw-r--r--text-utils/hexdump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/hexdump.h b/text-utils/hexdump.h
index 622407627..2222585f8 100644
--- a/text-utils/hexdump.h
+++ b/text-utils/hexdump.h
@@ -72,7 +72,7 @@ typedef struct _fs { /* format strings */
extern FU *endfu;
extern FS *fshead; /* head of format strings list */
-extern int blocksize; /* data block size */
+extern ssize_t blocksize; /* data block size */
extern int deprecated; /* od compatibility */
extern int exitval; /* final exit value */
extern ssize_t length; /* max bytes to read */