diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-13 16:12:54 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-13 16:12:54 +0200 |
commit | e8ae539c37584f54ba77c8135ddefcb4f01affdd (patch) | |
tree | 05ba741d0e1eb642a367c598338b65be55556887 /src/xine-utils/utils.c | |
parent | c0a3f4fdd298441a8527c4f727a5f279b89ef710 (diff) | |
download | xine-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.c | 3 |
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++) |