Cygwin: utils: strace: fix format string
%ll is long valid for mingw builds. Use this rather than %I64 to avoid a gcc warning Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
37f4fea07c
commit
8bfb1afd6b
@ -635,7 +635,7 @@ handle_output_debug_string (DWORD id, LPVOID p, unsigned mask, FILE *ofile)
|
|||||||
{
|
{
|
||||||
s -= 8;
|
s -= 8;
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
sprintf (s, "%012I64x", n);
|
sprintf (s, "%012llx", n);
|
||||||
#else
|
#else
|
||||||
sprintf (s, "%08lx", n);
|
sprintf (s, "%08lx", n);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user