Fix a couple of signed/unsigned comparison warnings

This commit is contained in:
Neal Norwitz 2004-07-08 01:55:58 +00:00
parent 4ded4b52c4
commit 739a8f86d6
2 changed files with 2 additions and 2 deletions

View file

@ -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 */

View file

@ -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;