diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-06 20:47:26 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-06 20:47:26 (GMT) |
commit | ca4706399879b30e952c402637b4fc0d4d2e661c (patch) | |
tree | 72f97b545d4d31afd06a8874fcbb578cb178aa0d /Modules/selectmodule.c | |
parent | 3c397e4c39430000348f2f64d9e394bf1b61c509 (diff) | |
download | cpython-ca4706399879b30e952c402637b4fc0d4d2e661c.zip cpython-ca4706399879b30e952c402637b4fc0d4d2e661c.tar.gz cpython-ca4706399879b30e952c402637b4fc0d4d2e661c.tar.bz2 |
replace Py_(u)intptr_t with the c99 standard types
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r-- | Modules/selectmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 80e7873..49fa1f5 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -1797,7 +1797,7 @@ static PyTypeObject kqueue_queue_Type; */ #if !defined(__OpenBSD__) # define IDENT_TYPE T_UINTPTRT -# define IDENT_CAST Py_intptr_t +# define IDENT_CAST intptr_t # define DATA_TYPE T_INTPTRT # define DATA_FMT_UNIT INTPTRT_FMT_UNIT # define IDENT_AsType PyLong_AsUintptr_t @@ -1876,7 +1876,7 @@ static PyObject * kqueue_event_richcompare(kqueue_event_Object *s, kqueue_event_Object *o, int op) { - Py_intptr_t result = 0; + intptr_t result = 0; if (!kqueue_event_Check(o)) { if (op == Py_EQ || op == Py_NE) { |