diff options
author | Fred Drake <fdrake@acm.org> | 2000-09-24 22:07:59 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-09-24 22:07:59 (GMT) |
commit | 28adf52b0679072d20c52edd4846c09a7082304c (patch) | |
tree | 802f90e20852536dc238733a1acee744593704a6 /Modules/pyexpat.c | |
parent | 46e13027a8642901181c461b4e6b0e81c376bc8c (diff) | |
download | cpython-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.c | 2 |
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; } |