summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-06 13:47:26 -0700
committerBenjamin Peterson <benjamin@python.org>2016-09-06 13:47:26 -0700
commit82b75eb31160ec9c025e450ac9fa3300d560a245 (patch)
tree09af59ad4c2773eb8c1c8549aaeb6ed284fd9740 /Python/compile.c
parent76a2df1b6a3a821478824071fe9bb26717336846 (diff)
downloadcpython-82b75eb31160ec9c025e450ac9fa3300d560a245.tar.gz
replace Py_(u)intptr_t with the c99 standard types
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/compile.c b/Python/compile.c
index b5629895c1..6fe5d5fa82 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -476,9 +476,9 @@ compiler_unit_check(struct compiler_unit *u)
{
basicblock *block;
for (block = u->u_blocks; block != NULL; block = block->b_list) {
- assert((Py_uintptr_t)block != 0xcbcbcbcbU);
- assert((Py_uintptr_t)block != 0xfbfbfbfbU);
- assert((Py_uintptr_t)block != 0xdbdbdbdbU);
+ assert((uintptr_t)block != 0xcbcbcbcbU);
+ assert((uintptr_t)block != 0xfbfbfbfbU);
+ assert((uintptr_t)block != 0xdbdbdbdbU);
if (block->b_instr != NULL) {
assert(block->b_ialloc > 0);
assert(block->b_iused > 0);