Author: Saleem Abdulrasool Date: 2021-12-08T09:01:10-08:00 New Revision: 906e60b9f923464cba0f71a9205846550752162f
URL: https://github.com/llvm/llvm-project/commit/906e60b9f923464cba0f71a9205846550752162f DIFF: https://github.com/llvm/llvm-project/commit/906e60b9f923464cba0f71a9205846550752162f.diff LOG: lldb: silence a warning on the Windows error path (NFCI) This corrects the printf specifier for the `error_code` parameter that was reported by @thakis. 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 d41d422576a9..eb1e3a9f7a00 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: %lu", error_code); + error.SetErrorStringWithFormat("LoadLibrary Error: %llu", 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