diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-06-09 07:59:43 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-06-09 07:59:43 (GMT) |
commit | eefa964932f2ed3b27cdac546022efe682896237 (patch) | |
tree | 7cd8a5f9216361e026731f97c16c492ccb9847ec | |
parent | 0163d6d6ef85dd0cd0ea4ea6dce4b867e39cd6b9 (diff) | |
download | cpython-eefa964932f2ed3b27cdac546022efe682896237.zip cpython-eefa964932f2ed3b27cdac546022efe682896237.tar.gz cpython-eefa964932f2ed3b27cdac546022efe682896237.tar.bz2 |
Cast the result of xxxPyCObject_Import to PycStringIO_CAPI*.
This fixes bug #431557.
-rw-r--r-- | Include/cStringIO.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cStringIO.h b/Include/cStringIO.h index 8aff2e3..cb8f337 100644 --- a/Include/cStringIO.h +++ b/Include/cStringIO.h @@ -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 */ |