mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Fix a couple of signed/unsigned comparison warnings
This commit is contained in:
parent
4ded4b52c4
commit
739a8f86d6
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue