From 9544fc5027169a8dce9516435d2b127e83680aa8 Mon Sep 17 00:00:00 2001
From: Tim Peters <tim.peters@gmail.com>
Date: Sat, 28 Jul 2001 09:36:36 +0000
Subject: Squash compiler wng about mixing signed and unsigned in comparison.

---
 Modules/pyexpat.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 9300039..4bddc46 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -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) {
-- 
cgit v0.12

