From: Fred Drake Date: Sun, 24 Sep 2000 22:07:59 +0000 (+0000) Subject: xmlparse_ExternalEntityParserCreate(): Add required cast to return to X-Git-Tag: v2.0b2~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28adf52b0679072d20c52edd4846c09a7082304c;p=python xmlparse_ExternalEntityParserCreate(): Add required cast to return to avoid compiler warnings. --- diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 5000229006..0f66b891dd 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; }