summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 8e1cfd8..87b236a 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -183,7 +183,7 @@ static int
all_name_chars(unsigned char *s)
{
static char ok_name_char[256];
- static unsigned char *name_chars = NAME_CHARS;
+ static unsigned char *name_chars = (unsigned char *)NAME_CHARS;
if (ok_name_char[*name_chars] == 0) {
unsigned char *p;