From 739a8f86d6b4df7a36ec875660095ff16aa560d7 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Thu, 8 Jul 2004 01:55:58 +0000 Subject: [PATCH] Fix a couple of signed/unsigned comparison warnings --- Objects/floatobject.c | 2 +- Python/codecs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/floatobject.c b/Objects/floatobject.c index bbf56c6d75c..774d2ead6a4 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -884,7 +884,7 @@ PyFloat_Fini(void) { PyFloatObject *p; PyFloatBlock *list, *next; - int i; + unsigned i; int bc, bf; /* block count, number of freed blocks */ int frem, fsum; /* remaining unfreed floats per block, total */ diff --git a/Python/codecs.c b/Python/codecs.c index 7b31003f333..4b8d9839350 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -804,7 +804,7 @@ static int _PyCodecRegistry_Init(void) PyInterpreterState *interp = PyThreadState_GET()->interp; PyObject *mod; - int i; + unsigned i; if (interp->codec_search_path != NULL) return 0;