https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8bfb1afd6b46b7b41d45b20fe9c90e9156b3a7d2
commit 8bfb1afd6b46b7b41d45b20fe9c90e9156b3a7d2 Author: Corinna Vinschen <[email protected]> Date: Wed Aug 8 09:26:20 2018 +0200 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 <[email protected]> Diff: --- winsup/utils/strace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc index 616fa78..21c0835 100644 --- a/winsup/utils/strace.cc +++ b/winsup/utils/strace.cc @@ -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
