diff options
-rw-r--r-- | src/xine-utils/utils.c | 3 | ||||
-rw-r--r-- | src/xine-utils/xineutils.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/xine-utils/utils.c b/src/xine-utils/utils.c index 63c2e2f09..858a754ae 100644 --- a/src/xine-utils/utils.c +++ b/src/xine-utils/utils.c @@ -474,9 +474,10 @@ void xine_usec_sleep(unsigned usec) { /* print a hexdump of length bytes from the data given in buf */ -void xine_hexdump (const char *buf, int length) { +void xine_hexdump (const void *buf_gen, int length) { int i,j; unsigned char c; + const uint8_t *const buf = (const uint8_t*)buf; /* printf ("Hexdump: %i Bytes\n", length);*/ for(j=0; j<69; j++) diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index 0be29ff63..980586b7d 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -784,7 +784,7 @@ extern void yuy2_to_yuy2 int width, int height) XINE_PROTECTED; /* print a hexdump of the given data */ -void xine_hexdump (const char *buf, int length) XINE_PROTECTED; +void xine_hexdump (const void *buf, int length) XINE_PROTECTED; /* * Optimization macros for conditions |