[Python-checkins] python/dist/src/Modules bz2module.c,1.6,1.7
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Fri, 08 Nov 2002 20:26:06 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv10598/modules
Modified Files:
bz2module.c
Log Message:
BZ2Comp_compress(): changed decl of totalout to LONG_LONG, since it's
solely used to hold LONG_LONG values, and the compiler rightfully warns
about potential data loss otherwise.
Index: bz2module.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/bz2module.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** bz2module.c 9 Nov 2002 04:23:31 -0000 1.6
--- bz2module.c 9 Nov 2002 04:26:02 -0000 1.7
***************
*** 1433,1437 ****
int datasize;
int bufsize = SMALLCHUNK;
! long totalout;
PyObject *ret = NULL;
bz_stream *bzs = &self->bzs;
--- 1433,1437 ----
int datasize;
int bufsize = SMALLCHUNK;
! LONG_LONG totalout;
PyObject *ret = NULL;
bz_stream *bzs = &self->bzs;