summaryrefslogtreecommitdiff
path: root/src/xine-utils/utils.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-13 16:12:54 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-13 16:12:54 +0200
commite8ae539c37584f54ba77c8135ddefcb4f01affdd (patch)
tree05ba741d0e1eb642a367c598338b65be55556887 /src/xine-utils/utils.c
parentc0a3f4fdd298441a8527c4f727a5f279b89ef710 (diff)
downloadxine-lib-e8ae539c37584f54ba77c8135ddefcb4f01affdd.tar.gz
xine-lib-e8ae539c37584f54ba77c8135ddefcb4f01affdd.tar.bz2
Make xine_hexdump take a void * parameter, so that there are no problems of signedness.
Diffstat (limited to 'src/xine-utils/utils.c')
-rw-r--r--src/xine-utils/utils.c3
1 files changed, 2 insertions, 1 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++)