mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 13:09:33 -06:00
fix warnings detected by MSVC
This commit is contained in:
@@ -517,7 +517,7 @@ match_lit(PgfMarshaller *this, PgfUnmarshaller *u, PgfLiteral lit)
|
||||
Py_DECREF(intShifter);
|
||||
return 0;
|
||||
}
|
||||
for (int n = size-1; n > 0; n--) {
|
||||
for (size_t n = size-1; n > 0; n--) {
|
||||
PyObject *rem = PyNumber_Remainder(x, intShifter);
|
||||
if (!rem) {
|
||||
PyMem_RawFree(i);
|
||||
|
||||
Reference in New Issue
Block a user