Author: brett.cannon
Date: Wed Sep 5 22:35:46 2007
New Revision: 57995
Modified:
python/branches/py3k/Parser/parsetok.c
Log:
Cast away const qualifier to silence a compiler warning about it.
Modified: python/branches/py3k/Parser/parsetok.c
==============================================================================
--- python/branches/py3k/Parser/parsetok.c (original)
+++ python/branches/py3k/Parser/parsetok.c Wed Sep 5 22:35:46 2007
@@ -72,7 +72,7 @@
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;
}
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins