Alexandre Julliard : kernel32/tests: Avoid a non-portable printf format.
Alexandre Julliard
julliard at winehq.org
Mon May 14 14:26:04 CDT 2012
Module: wine
Branch: master
Commit: 5d770503b9b9fc6e61147fd84d23e18390e22064
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5d770503b9b9fc6e61147fd84d23e18390e22064
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon May 14 14:15:53 2012 +0200
kernel32/tests: Avoid a non-portable printf format.
---
dlls/kernel32/tests/file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/tests/file.c b/dlls/kernel32/tests/file.c
index 9cfb664..8768b99 100644
--- a/dlls/kernel32/tests/file.c
+++ b/dlls/kernel32/tests/file.c
@@ -796,7 +796,7 @@ static void dumpmem(unsigned char *mem, int len)
p = hex;
c = txt;
do {
- p += sprintf(p, "%02hhx ", mem[x]);
+ p += sprintf(p, "%02x ", mem[x]);
*c++ = (mem[x] >= 32 && mem[x] <= 127) ? mem[x] : '.';
} while (++x % 16 && x < len);
*c = '\0';
More information about the wine-cvs
mailing list