diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2014-01-17 17:37:09 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2014-01-17 17:37:09 -0800 |
commit | 36f31ec31740490b3770ab97fd91de66f76bd894 (patch) | |
tree | c55fabbd256c3b0cea769859468143c0a74785bf /xorg/server/module/rdpMisc.c | |
parent | 33e6c7a83454e5bf38f33b056698cbfcd72be427 (diff) | |
download | xrdp-proprietary-36f31ec31740490b3770ab97fd91de66f76bd894.tar.gz xrdp-proprietary-36f31ec31740490b3770ab97fd91de66f76bd894.zip |
work on xorg driver
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; |