diff options
Diffstat (limited to 'xorg/server/module/rdpMisc.c')
| -rw-r--r-- | xorg/server/module/rdpMisc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg/server/module/rdpMisc.c b/xorg/server/module/rdpMisc.c index 1fcbe027..1f0c4c51 100644 --- a/xorg/server/module/rdpMisc.c +++ b/xorg/server/module/rdpMisc.c @@ -373,7 +373,7 @@ g_chmod_hex(const char *filename, int flags) /*****************************************************************************/ /* produce a hex dump */ void -g_hexdump(unsigned char *p, unsigned int len) +g_hexdump(void *p, long len) { unsigned char *line; int i; @@ -381,9 +381,9 @@ g_hexdump(unsigned char *p, unsigned int len) int offset; offset = 0; - line = p; + line = (unsigned char *) p; - while (offset < len) + while (offset < (int) len) { ErrorF("%04x ", offset); thisline = len - offset; |
