commit | eefa964932f2ed3b27cdac546022efe682896237 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sat Jun 09 07:59:43 2001 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sat Jun 09 07:59:43 2001 +0000 |
tree | 7cd8a5f9216361e026731f97c16c492ccb9847ec | |
parent | 0163d6d6ef85dd0cd0ea4ea6dce4b867e39cd6b9 [diff] [blame] |
Cast the result of xxxPyCObject_Import to PycStringIO_CAPI*. This fixes bug #431557.
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 @@ } #define PycString_IMPORT \ - PycStringIO=xxxPyCObject_Import("cStringIO", "cStringIO_CAPI") + PycStringIO=(struct PycStringIO_CAPI*)xxxPyCObject_Import("cStringIO", "cStringIO_CAPI") #endif /* CSTRINGIO_INCLUDED */