Squash compiler wng about mixing signed and unsigned in comparison.

This commit is contained in:
Tim Peters 2001-07-28 09:36:36 +00:00
parent faa7f116f2
commit 9544fc5027
1 changed files with 2 additions and 1 deletions

View File

@ -585,7 +585,8 @@ conv_content_model(XML_Content * const model,
int i;
if (children != NULL) {
for (i = 0; i < model->numchildren; ++i) {
assert(model->numchildren < INT_MAX);
for (i = 0; i < (int)model->numchildren; ++i) {
PyObject *child = conv_content_model(&model->children[i],
conv_string);
if (child == NULL) {