mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
kernel32/tests: Avoid a non-portable printf format.
This commit is contained in:
parent
953beaee86
commit
5d770503b9
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user