summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/cStringIO.h2
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 */