aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-05-14 20:24:01 +0000
committerRichard Stallman <rms@gnu.org>1992-05-14 20:24:01 +0000
commit6f4870cf04c33b5e9f9e37dcdf451c145878a847 (patch)
tree535487efce909426a6be30771e6da663e3505426 /gcc
parent4f7113af2c827a8b4e91b4deaf972f9b3b233670 (diff)
downloadgcc-6f4870cf04c33b5e9f9e37dcdf451c145878a847.zip
gcc-6f4870cf04c33b5e9f9e37dcdf451c145878a847.tar.gz
gcc-6f4870cf04c33b5e9f9e37dcdf451c145878a847.tar.bz2
*** empty log message ***
From-SVN: r975
Diffstat (limited to 'gcc')
-rw-r--r--gcc/protoize.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index edeae33..4ce43ac 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -646,7 +646,7 @@ xfree (p)
static char *
savestring (input, size)
const char *input;
- unsigned size;
+ unsigned int size;
{
char *output = (char *) xmalloc (size + 1);
strcpy (output, input);
@@ -658,9 +658,9 @@ savestring (input, size)
static char *
savestring2 (input1, size1, input2, size2)
const char *input1;
- unsigned size1;
+ unsigned int size1;
const char *input2;
- unsigned size2;
+ unsigned int size2;
{
char *output = (char *) xmalloc (size1 + size2 + 1);
strcpy (output, input1);
@@ -1911,7 +1911,7 @@ munge_compile_params (params_list)
/* Build up the contents in a temporary vector
that is so big that to has to be big enough. */
const char **temp_params
- = (const char **) alloca ((strlen (params_list) + 6) * sizeof (char *));
+ = (const char **) alloca ((strlen (params_list) + 8) * sizeof (char *));
int param_count = 0;
const char *param;