xmlparse_ExternalEntityParserCreate():  Add required cast to return to
        avoid compiler warnings.
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 @@
       }
     }
       
-    return new_parser;    
+    return (PyObject *)new_parser;    
 }