Author: Benjamin Kramer Date: 2021-12-08T19:37:32+01:00 New Revision: 81f4874cbf35fcbd220cda4d4fafedffdb909e3a
URL: https://github.com/llvm/llvm-project/commit/81f4874cbf35fcbd220cda4d4fafedffdb909e3a DIFF: https://github.com/llvm/llvm-project/commit/81f4874cbf35fcbd220cda4d4fafedffdb909e3a.diff LOG: Silence format string warning harder. This can be unsigned long or unsigned long long depending on where it's compiled. Use the ugly portable way. PlatformWindows.cpp:397:63: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') Added: Modified: lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp b/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp index eb1e3a9f7a00..220a153f5c3b 100644 --- a/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp +++ b/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp @@ -394,7 +394,7 @@ uint32_t PlatformWindows::DoLoadImage(Process *process, return LLDB_INVALID_IMAGE_TOKEN; } - error.SetErrorStringWithFormat("LoadLibrary Error: %llu", error_code); + error.SetErrorStringWithFormat("LoadLibrary Error: %" PRIu64, error_code); return LLDB_INVALID_IMAGE_TOKEN; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits