summaryrefslogtreecommitdiff
path: root/gcc/cppspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppspec.c')
-rw-r--r--gcc/cppspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppspec.c b/gcc/cppspec.c
index 2e0221626e3..4ab043d2158 100644
--- a/gcc/cppspec.c
+++ b/gcc/cppspec.c
@@ -194,7 +194,7 @@ lang_specific_driver (errfn, in_argc, in_argv, in_added_libraries)
if (new_argc == argc)
return;
- new_argv = xmalloc (new_argc * sizeof(char *));
+ new_argv = (char **) xmalloc (new_argc * sizeof(char *));
new_argv[0] = argv[0];
j = 1;