diff options
Diffstat (limited to 'test/CXX/CCFLAGS.py')
-rw-r--r-- | test/CXX/CCFLAGS.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/CCFLAGS.py b/test/CXX/CCFLAGS.py index a867340..deaa2b6 100644 --- a/test/CXX/CCFLAGS.py +++ b/test/CXX/CCFLAGS.py @@ -51,7 +51,7 @@ test.write('prog.cpp', r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; + argv[argc++] = (char *)"--"; #ifdef FOO printf("prog.c: FOO\n"); #endif |