fix comparison between signed and unsigned integer expressions

This commit is contained in:
Per Øyvind Karlsen 2017-04-06 08:50:19 +02:00 committed by Florian Festi
parent de61c64d66
commit a6a71bf6f0
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ rpmfi_FLinks(rpmfiObject * s, PyObject * unused)
}
result = PyTuple_New(nlinks);
for (int i=0; i<nlinks; i++) {
for (uint32_t i=0; i<nlinks; i++) {
PyTuple_SET_ITEM(result, i, PyInt_FromLong(files[i]));
}
return result;