mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
Fixed few compiler warnings.
This commit is contained in:
parent
a9e00d13cd
commit
53fa8b2a4b
5 changed files with 9 additions and 10 deletions
|
@ -1258,7 +1258,7 @@ Py_FatalError(const char *msg)
|
|||
PyErr_PrintEx(0);
|
||||
}
|
||||
else {
|
||||
tstate = _Py_atomic_load_relaxed(&_PyThreadState_Current);
|
||||
tstate = (PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current);
|
||||
if (tstate != NULL) {
|
||||
fputc('\n', stderr);
|
||||
fflush(stderr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue