mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
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;
|
||||
#ifdef __x86_64__
|
||||
sprintf (s, "%012I64x", n);
|
||||
sprintf (s, "%012llx", n);
|
||||
#else
|
||||
sprintf (s, "%08lx", n);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user