Skip to content

Commit

Permalink
lldb: silence a warning on the Windows error path (NFCI)
Browse files Browse the repository at this point in the history
This corrects the printf specifier for the `error_code` parameter that
was reported by @Thakis.
  • Loading branch information
compnerd committed Dec 8, 2021
1 parent ade336d commit 906e60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 906e60b

Please sign in to comment.