src/hexdump.h@96e1df9bd27c
src/hexdump.h
Wed, 05 Aug 2009 15:00:54 +0100
- author
- Philip Pemberton <philpem@philpem.me.uk>
- date
- Wed, 05 Aug 2009 15:00:54 +0100
- changeset 12
- 96e1df9bd27c
- parent 3
-
4aec27d9d4da
- permissions
- -rw-r--r--
small changes to hexdump code to stop a gcc warning on platforms where sizeof(int) != sizeof(int*) e.g. x86_64
4 void hex_dump(void *data, int size);
5 /* dumps size bytes of *data to stdout. Looks like:
6 * [0000] 75 6E 6B 6E 6F 77 6E 20 30 FF 00 00 00 00 39 00 unknown 0.....9.