Skip to content

Commit

Permalink
gfshare: Fix sign-compare warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinji authored and lamby committed Dec 13, 2017
1 parent b3e4fe1 commit aea7537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfshare.c
Expand Up @@ -340,7 +340,7 @@ combine(PyObject *m, PyObject *args, PyObject *keywds) {
goto fail;
}

for (unsigned int offset = 0; offset < sharesize; offset += BUFFER_SIZE) {
for (int offset = 0; offset < sharesize; offset += BUFFER_SIZE) {
const unsigned int chunk = MIN(BUFFER_SIZE, (sharesize - offset));

for (i = pos = 0; PyDict_Next(shares, &pos, &key, &value); ++i) {
Expand Down

0 comments on commit aea7537

Please sign in to comment.