diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-06 13:47:26 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-06 13:47:26 -0700 |
commit | 82b75eb31160ec9c025e450ac9fa3300d560a245 (patch) | |
tree | 09af59ad4c2773eb8c1c8549aaeb6ed284fd9740 /Python/pystate.c | |
parent | 76a2df1b6a3a821478824071fe9bb26717336846 (diff) | |
download | cpython-82b75eb31160ec9c025e450ac9fa3300d560a245.tar.gz |
replace Py_(u)intptr_t with the c99 standard types
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index 61bda2a9fb..2ab5d5d611 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -6,7 +6,7 @@ #define GET_TSTATE() \ ((PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current)) #define SET_TSTATE(value) \ - _Py_atomic_store_relaxed(&_PyThreadState_Current, (Py_uintptr_t)(value)) + _Py_atomic_store_relaxed(&_PyThreadState_Current, (uintptr_t)(value)) #define GET_INTERP_STATE() \ (GET_TSTATE()->interp) |