From 117ac85c4eea46935f8767abfac16625491bb7da Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 24 Sep 2002 16:24:54 +0000 Subject: [PATCH] Be more careful with the type of the xmlhandlersetter; it takes an XML_Parser, which happens to be a pointer type, not an XML_Parser*. This generated warnings when compiled with Expat 1.95.5, which no longer defines XML_Parser to be void*. --- Modules/pyexpat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 85cb602fb63..2009b225bcb 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -68,7 +68,7 @@ typedef struct { static PyTypeObject Xmlparsetype; -typedef void (*xmlhandlersetter)(XML_Parser *self, void *meth); +typedef void (*xmlhandlersetter)(XML_Parser self, void *meth); typedef void* xmlhandler; struct HandlerInfo {