diff options
author | Tom Wood <wood@gnu.org> | 1992-03-03 20:37:08 +0000 |
---|---|---|
committer | Tom Wood <wood@gnu.org> | 1992-03-03 20:37:08 +0000 |
commit | 6cac1ab0524c41971f7675bec4bb719362924c44 (patch) | |
tree | 70fde07b6c6031345adbfb790fbdf8d13211913b /gcc/protoize.c | |
parent | 340ccaabe2834fc58edcc0c8d1aec5d29437e333 (diff) | |
download | gcc-6cac1ab0524c41971f7675bec4bb719362924c44.zip gcc-6cac1ab0524c41971f7675bec4bb719362924c44.tar.gz gcc-6cac1ab0524c41971f7675bec4bb719362924c44.tar.bz2 |
*** empty log message ***
From-SVN: r384
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r-- | gcc/protoize.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c index 67e51dd..7370997 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -1894,7 +1894,8 @@ static void munge_compile_params (params_list) const char *params_list; { - char **temp_params = (char **) alloca (strlen (params_list) + 10); + char **temp_params + = (char **) alloca ((strlen (params_list) + 6) * sizeof (char *)); int param_count = 0; const char *param; |