summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-20 05:15:26 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-01-20 05:15:26 (GMT)
commit7f3e4adf6057d93e8c372bebec61dda825e4b37e (patch)
tree482882be66708dfbc0586e2727ddfec54b1c7c96 /Python
parent2ad1a444e56ae2c1eafeb9c9f7384170987cd947 (diff)
downloadcpython-7f3e4adf6057d93e8c372bebec61dda825e4b37e.zip
cpython-7f3e4adf6057d93e8c372bebec61dda825e4b37e.tar.gz
cpython-7f3e4adf6057d93e8c372bebec61dda825e4b37e.tar.bz2
SF patch #103336: Missing cast.
Diffstat (limited to 'Python')
-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;