aboutsummaryrefslogtreecommitdiff
path: root/src/include/hex_utils.h
diff options
context:
space:
mode:
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