mirror of
https://github.com/python/cpython
synced 2024-10-14 21:01:10 +00:00
Fix a couple of signed/unsigned comparison warnings
This commit is contained in:
parent
4ded4b52c4
commit
739a8f86d6
|
@ -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)
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue