diff options
author | Olivier Hainque <hainque@adacore.com> | 2008-07-30 07:44:09 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2008-07-30 07:44:09 +0000 |
commit | 473e10621f06ef6cfd82f3875224c4b82c2eb7cf (patch) | |
tree | 5e51c8843a15f222aee2c5686f72ccdd40da0109 /gcc/scan.c | |
parent | a7dafa20688ef5d60d8212ce9ef6dd74d7bb2e9a (diff) | |
download | gcc-473e10621f06ef6cfd82f3875224c4b82c2eb7cf.zip gcc-473e10621f06ef6cfd82f3875224c4b82c2eb7cf.tar.gz gcc-473e10621f06ef6cfd82f3875224c4b82c2eb7cf.tar.bz2 |
scan.c (make_sstring_space): Add explicit conversions of allocator's return value.
* scan.c (make_sstring_space): Add explicit conversions of
allocator's return value.
* fix-header.c (recognized_function): Likewise.
From-SVN: r138295
Diffstat (limited to 'gcc/scan.c')
-rw-r--r-- | gcc/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |