1
0
forked from GitHub/gf-core

another fix

This commit is contained in:
Krasimir Angelov
2023-01-27 10:44:51 +01:00
parent 2d2af272a7
commit a2df7ed2a6

View File

@@ -431,7 +431,7 @@ dtyp(PgfUnmarshaller *this, size_t n_hypos, PgfTypeHypo *hypos, PgfText *cat, si
return 0;
}
for (int i = 0; i < n_exprs; i++) {
for (size_t i = 0; i < n_exprs; i++) {
PyObject *expr = (PyObject *)exprs[i];
PyTuple_SET_ITEM(pytype->exprs, i, expr);
Py_INCREF(expr);