Cast pointers to quiet -Wformat-pedantic warnings
This commit is contained in:
parent
2b73f04e23
commit
a07bbd296b
|
@ -2167,7 +2167,7 @@ fatal_error_dump_runtime(FILE *stream, _PyRuntimeState *runtime)
|
|||
fprintf(stream, "Python runtime state: ");
|
||||
PyThreadState *finalizing = _PyRuntimeState_GetFinalizing(runtime);
|
||||
if (finalizing) {
|
||||
fprintf(stream, "finalizing (tstate=%p)", finalizing);
|
||||
fprintf(stream, "finalizing (tstate=%p)", (const void *)finalizing);
|
||||
}
|
||||
else if (runtime->initialized) {
|
||||
fprintf(stream, "initialized");
|
||||
|
|
Loading…
Reference in New Issue