aboutsummaryrefslogtreecommitdiff
path: root/src/include/hex_utils.h
diff options
context:
space:
mode:
authorGareth McMullin2015-03-13 20:35:39 -0700
committerGareth McMullin2015-03-13 20:35:39 -0700
commitf5c856af3b3b0155050e793f50c29965d2c8326d (patch)
treeaa3e96821c585cb8214bc5cd345a66edc1378596 /src/include/hex_utils.h
parentf52a51403f4b9e5d0264cc355bf2414634bb5500 (diff)
Fix pointer sign warnings and remove -Wno-pointer-sign.
Diffstat (limited to 'src/include/hex_utils.h')
-rw-r--r--src/include/hex_utils.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/hex_utils.h b/src/include/hex_utils.h
index 3aa210b..8a0d092 100644
--- a/src/include/hex_utils.h
+++ b/src/include/hex_utils.h
@@ -21,9 +21,8 @@
#ifndef __HEX_UTILS_H
#define __HEX_UTILS_H
-char * hexify(char *hex, const unsigned char *buf, int size);
-
-char * unhexify(unsigned char *buf, const char *hex, int size);
+char * hexify(char *hex, const void *buf, size_t size);
+char * unhexify(void *buf, const char *hex, size_t size);
#endif