Commit eefa9649 authored by Martin v. Löwis's avatar Martin v. Löwis

Cast the result of xxxPyCObject_Import to PycStringIO_CAPI*.

This fixes bug #431557.
parent 0163d6d6
......@@ -126,6 +126,6 @@ xxxPyCObject_Import(char *module_name, char *name)
}
#define PycString_IMPORT \
PycStringIO=xxxPyCObject_Import("cStringIO", "cStringIO_CAPI")
PycStringIO=(struct PycStringIO_CAPI*)xxxPyCObject_Import("cStringIO", "cStringIO_CAPI")
#endif /* CSTRINGIO_INCLUDED */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment