Commit a27d5dfa authored by Neal Norwitz's avatar Neal Norwitz

Fix a couple of signed/unsigned comparison warnings

parent bf7876c7
...@@ -884,7 +884,7 @@ PyFloat_Fini(void) ...@@ -884,7 +884,7 @@ PyFloat_Fini(void)
{ {
PyFloatObject *p; PyFloatObject *p;
PyFloatBlock *list, *next; PyFloatBlock *list, *next;
int i; unsigned i;
int bc, bf; /* block count, number of freed blocks */ int bc, bf; /* block count, number of freed blocks */
int frem, fsum; /* remaining unfreed floats per block, total */ int frem, fsum; /* remaining unfreed floats per block, total */
......
...@@ -804,7 +804,7 @@ static int _PyCodecRegistry_Init(void) ...@@ -804,7 +804,7 @@ static int _PyCodecRegistry_Init(void)
PyInterpreterState *interp = PyThreadState_GET()->interp; PyInterpreterState *interp = PyThreadState_GET()->interp;
PyObject *mod; PyObject *mod;
int i; unsigned i;
if (interp->codec_search_path != NULL) if (interp->codec_search_path != NULL)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment