summaryrefslogtreecommitdiffstats
path: root/test/CXX/CXXFLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/CXXFLAGS.py')
-rw-r--r--test/CXX/CXXFLAGS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/CXXFLAGS.py b/test/CXX/CXXFLAGS.py
index 86f14f0..f37cdbb 100644
--- a/test/CXX/CXXFLAGS.py
+++ b/test/CXX/CXXFLAGS.py
@@ -120,7 +120,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