Skip to content

Commit 2f95c50

Browse files
committed
Fix use of wrong printf format specifier for size_t argument.
This causes a build break under -Werror=format.
1 parent 61b3106 commit 2f95c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/bindings/python/python-wrapper.swig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ LLDBSwigPythonCreateScriptedStopHook
521521
size_t num_args = (*args_info).max_positional_args;
522522
if (num_args != 2) {
523523
error.SetErrorStringWithFormat("Wrong number of args for "
524-
"handle_stop callback, should be 2 (excluding self), got: %d",
524+
"handle_stop callback, should be 2 (excluding self), got: %zu",
525525
num_args);
526526
Py_RETURN_NONE;
527527
} else

0 commit comments

Comments
 (0)