kernel32/tests: Avoid a non-portable printf format.

This commit is contained in:
Alexandre Julliard 2012-05-14 14:15:53 +02:00
parent 953beaee86
commit 5d770503b9

View File

@ -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';