aboutsummaryrefslogtreecommitdiff
path: root/gcc/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/scan.c')
-rw-r--r--gcc/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/scan.c b/gcc/scan.c
index f697d26ec02..c6d04716271 100644
--- a/gcc/scan.c
+++ b/gcc/scan.c
@@ -35,7 +35,7 @@ make_sstring_space (sstring *str, int count)
if (new_size <= cur_size)
return;
- str->base = xrealloc (str->base, new_size);
+ str->base = (char *) xrealloc (str->base, new_size);
str->ptr = str->base + cur_size;
str->limit = str->base + new_size;
}