1
0
forked from GitHub/gf-core

fix an issue in the Python binding related to the 32 vs 64 bit compatibility

This commit is contained in:
kr.angelov
2013-06-19 18:47:52 +00:00
parent e65bbb0713
commit 0ad4c9bf65

View File

@@ -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;