diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-06-19 18:47:52 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-06-19 18:47:52 +0000 |
| commit | 0ad4c9bf65829b0625fc24d34b79904cab5c6f1b (patch) | |
| tree | 3ad18bececc6a0298eb540b47024fea26529fabd /src/runtime/python | |
| parent | e65bbb0713afbec4b1870963d8ee6c808a4d4959 (diff) | |
fix an issue in the Python binding related to the 32 vs 64 bit compatibility
Diffstat (limited to 'src/runtime/python')
| -rw-r--r-- | src/runtime/python/pypgf.c | 4 |
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; |
