summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-20 05:15:26 +0000
committerTim Peters <tim.peters@gmail.com>2001-01-20 05:15:26 +0000
commit50bd1ad6b914581ffd33b1fc1717bc430f384e71 (patch)
treeac0d07d47f0a110504b7bc2c9295cbe6f3163f7c /Python/compile.c
parent70f48b356c12292f739ee6bbff0607137a2b8b75 (diff)
downloadcpython-50bd1ad6b914581ffd33b1fc1717bc430f384e71.tar.gz
SF patch #103336: Missing cast.
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 8e1cfd83ae..87b236a0b0 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;