diff options
Diffstat (limited to 'Parser/parsetok.c')
-rw-r--r-- | Parser/parsetok.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/parsetok.c b/Parser/parsetok.c index b9664ea..708c26d 100644 --- a/Parser/parsetok.c +++ b/Parser/parsetok.c @@ -72,7 +72,7 @@ PyParser_ParseFileFlags(FILE *fp, const char *filename, const char* enc, initerr(err_ret, filename); - if ((tok = PyTokenizer_FromFile(fp, enc, ps1, ps2)) == NULL) { + if ((tok = PyTokenizer_FromFile(fp, (char *)enc, ps1, ps2)) == NULL) { err_ret->error = E_NOMEM; return NULL; } |