summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-06-19 18:47:52 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-06-19 18:47:52 +0000
commit0ad4c9bf65829b0625fc24d34b79904cab5c6f1b (patch)
tree3ad18bececc6a0298eb540b47024fea26529fabd /src
parente65bbb0713afbec4b1870963d8ee6c808a4d4959 (diff)
fix an issue in the Python binding related to the 32 vs 64 bit compatibility
Diffstat (limited to 'src')
-rw-r--r--src/runtime/python/pypgf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/python/pypgf.c b/src/runtime/python/pypgf.c
index 8acfcf451..756f7c7cb 100644
--- a/src/runtime/python/pypgf.c
+++ b/src/runtime/python/pypgf.c
@@ -679,7 +679,7 @@ Concr_parse(ConcrObject* self, PyObject *args, PyObject *keywds)
{
static char *kwlist[] = {"sentence", "tokens", "cat", "n", NULL};
- size_t len;
+ int len;
const uint8_t *buf = NULL;
PyObject* py_lexer = NULL;
const char *catname_s = NULL;
@@ -770,7 +770,7 @@ Concr_getCompletions(ConcrObject* self, PyObject *args, PyObject *keywds)
static char *kwlist[] = {"sentence", "tokens", "cat",
"prefix", "n", NULL};
- size_t len;
+ int len;
const uint8_t *buf = NULL;
PyObject* py_lexer = NULL;
const char *catname_s = NULL;