summaryrefslogtreecommitdiffstats
path: root/test/CXX/SHCXX.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/SHCXX.py')
-rw-r--r--test/CXX/SHCXX.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/SHCXX.py b/test/CXX/SHCXX.py
index c02086b..abfc19d 100644
--- a/test/CXX/SHCXX.py
+++ b/test/CXX/SHCXX.py
@@ -55,7 +55,7 @@ test.write('foo.cpp', r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
+ argv[argc++] = (char *)"--";
printf("foo.c\n");
exit (0);
}
@@ -67,7 +67,7 @@ test.write('bar.cpp', r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
+ argv[argc++] = (char *)"--";
printf("foo.c\n");
exit (0);
}