[Python-checkins] CVS: python/dist/src/Include cStringIO.h,2.14,2.15

Martin v. L?wis loewis@users.sourceforge.net
Sat, 09 Jun 2001 00:59:45 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv15182

Modified Files:
	cStringIO.h 
Log Message:
Cast the result of xxxPyCObject_Import to PycStringIO_CAPI*.
This fixes bug #431557.


Index: cStringIO.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/cStringIO.h,v
retrieving revision 2.14
retrieving revision 2.15
diff -C2 -r2.14 -r2.15
*** cStringIO.h	2000/07/22 19:25:51	2.14
--- cStringIO.h	2001/06/09 07:59:43	2.15
***************
*** 127,131 ****
  
  #define PycString_IMPORT \
!   PycStringIO=xxxPyCObject_Import("cStringIO", "cStringIO_CAPI")
  
  #endif /* CSTRINGIO_INCLUDED */
--- 127,131 ----
  
  #define PycString_IMPORT \
!   PycStringIO=(struct PycStringIO_CAPI*)xxxPyCObject_Import("cStringIO", "cStringIO_CAPI")
  
  #endif /* CSTRINGIO_INCLUDED */