summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-02-16 07:40:12 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-02-16 07:40:12 (GMT)
commit53fa8b2a4bbb589d3d761284c70f93e0f852df23 (patch)
tree950b373e6fde26fd3e5bb6282619ed6a38b8f31a /Python/pylifecycle.c
parenta9e00d13cd5d547145ab065c166ca2075e06d6bf (diff)
downloadcpython-53fa8b2a4bbb589d3d761284c70f93e0f852df23.zip
cpython-53fa8b2a4bbb589d3d761284c70f93e0f852df23.tar.gz
cpython-53fa8b2a4bbb589d3d761284c70f93e0f852df23.tar.bz2
Fixed few compiler warnings.
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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);