summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-24 22:07:59 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-24 22:07:59 (GMT)
commit28adf52b0679072d20c52edd4846c09a7082304c (patch)
tree802f90e20852536dc238733a1acee744593704a6 /Modules/pyexpat.c
parent46e13027a8642901181c461b4e6b0e81c376bc8c (diff)
downloadcpython-28adf52b0679072d20c52edd4846c09a7082304c.zip
cpython-28adf52b0679072d20c52edd4846c09a7082304c.tar.gz
cpython-28adf52b0679072d20c52edd4846c09a7082304c.tar.bz2
xmlparse_ExternalEntityParserCreate(): Add required cast to return to
avoid compiler warnings.
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 5000229..0f66b89 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -594,7 +594,7 @@ xmlparse_ExternalEntityParserCreate(xmlparseobject *self, PyObject *args)
}
}
- return new_parser;
+ return (PyObject *)new_parser;
}