From e8ae539c37584f54ba77c8135ddefcb4f01affdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 13 Jun 2007 16:12:54 +0200 Subject: Make xine_hexdump take a void * parameter, so that there are no problems of signedness. --- src/xine-utils/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/xine-utils/utils.c') 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++) -- cgit v1.2.3