From a2df7ed2a60552c155b891825705c4553c57ab64 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Fri, 27 Jan 2023 10:44:51 +0100 Subject: [PATCH] another fix --- src/runtime/python/ffi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/python/ffi.c b/src/runtime/python/ffi.c index 473af179f..4c1ec52fa 100644 --- a/src/runtime/python/ffi.c +++ b/src/runtime/python/ffi.c @@ -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);