]> granicus.if.org Git - python/commitdiff
xmlparse_ExternalEntityParserCreate(): Add required cast to return to
authorFred Drake <fdrake@acm.org>
Sun, 24 Sep 2000 22:07:59 +0000 (22:07 +0000)
committerFred Drake <fdrake@acm.org>
Sun, 24 Sep 2000 22:07:59 +0000 (22:07 +0000)
        avoid compiler warnings.

Modules/pyexpat.c

index 5000229006f33fe3a425b4c477512784411d41d5..0f66b891ddbe828a60818c29357eb956c76fc5be 100644 (file)
@@ -594,7 +594,7 @@ xmlparse_ExternalEntityParserCreate(xmlparseobject *self, PyObject *args)
       }
     }
       
-    return new_parser;    
+    return (PyObject *)new_parser;    
 }