commit | 53fa8b2a4bbb589d3d761284c70f93e0f852df23 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Mon Feb 16 09:40:12 2015 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Mon Feb 16 09:40:12 2015 +0200 |
tree | 950b373e6fde26fd3e5bb6282619ed6a38b8f31a | |
parent | a9e00d13cd5d547145ab065c166ca2075e06d6bf [diff] [blame] |
Fixed few compiler warnings.
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 25a4a60..2a36b53 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c
@@ -1258,7 +1258,7 @@ 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);