mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Cast the result of xxxPyCObject_Import to PycStringIO_CAPI*.
This fixes bug #431557.
This commit is contained in:
parent
0163d6d6ef
commit
eefa964932
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue