diff options
Diffstat (limited to 'gcc/java/lang.c')
| -rw-r--r-- | gcc/java/lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c index fa9811443e2..71f24789123 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -389,7 +389,7 @@ put_decl_string (const char *str, int len) else { decl_buflen *= 2; - decl_buf = xrealloc (decl_buf, decl_buflen); + decl_buf = XRESIZEVAR (char, decl_buf, decl_buflen); } } strcpy (decl_buf + decl_bufpos, str); |

