[Python-checkins] CVS: python/dist/src/Modules pyexpat.c,2.46,2.47
Tim Peters
tim_one@users.sourceforge.net
Sat, 28 Jul 2001 02:36:38 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/PCbuild pyexpat.dsp,1.5,1.6 python.iss,1.3,1.4 python20.wse,1.43,1.44 readme.txt,1.20,1.21
- Next message: [Python-checkins] CVS: python/dist/src/Doc/lib libcmd.tex,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv15590/python/dist/src/Modules
Modified Files:
pyexpat.c
Log Message:
Squash compiler wng about mixing signed and unsigned in comparison.
Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.46
retrieving revision 2.47
diff -C2 -d -r2.46 -r2.47
*** pyexpat.c 2001/04/25 16:01:30 2.46
--- pyexpat.c 2001/07/28 09:36:36 2.47
***************
*** 586,590 ****
if (children != NULL) {
! for (i = 0; i < model->numchildren; ++i) {
PyObject *child = conv_content_model(&model->children[i],
conv_string);
--- 586,591 ----
if (children != NULL) {
! assert(model->numchildren < INT_MAX);
! for (i = 0; i < (int)model->numchildren; ++i) {
PyObject *child = conv_content_model(&model->children[i],
conv_string);
- Previous message: [Python-checkins] CVS: python/dist/src/PCbuild pyexpat.dsp,1.5,1.6 python.iss,1.3,1.4 python20.wse,1.43,1.44 readme.txt,1.20,1.21
- Next message: [Python-checkins] CVS: python/dist/src/Doc/lib libcmd.tex,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]