summaryrefslogtreecommitdiff
path: root/gcc/pexecute.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1997-11-02 14:19:36 -0700
committerJeff Law <law@gcc.gnu.org>1997-11-02 14:19:36 -0700
commite9a25f70a0a7b82881b56cb3dfa7422b2968682a (patch)
tree46fe768360493f03f7282d07762e7b26c292aabd /gcc/pexecute.c
parentbb84e66919817020267815eed4304e543688e722 (diff)
downloadgcc-e9a25f70a0a7b82881b56cb3dfa7422b2968682a.tar.gz
Update mainline egcs to gcc2 snapshot 971021.
From-SVN: r16278
Diffstat (limited to 'gcc/pexecute.c')
-rw-r--r--gcc/pexecute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/pexecute.c b/gcc/pexecute.c
index dc2aacd2ba5..39fe9c7d5db 100644
--- a/gcc/pexecute.c
+++ b/gcc/pexecute.c
@@ -252,7 +252,7 @@ fix_argv (argvec)
{
if (temp[j] == '"')
{
- newtemp = xmalloc (len + 2);
+ newtemp = (char *) xmalloc (len + 2);
strncpy (newtemp, temp, j);
newtemp [j] = '\\';
strncpy (&newtemp [j+1], &temp [j], len-j);
@@ -407,7 +407,7 @@ pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
/* See if we have an argument that needs fixing. */
if (strchr(argv[i], '/'))
{
- tmpname = xmalloc (256);
+ tmpname = (char *) xmalloc (256);
mpwify_filename (argv[i], tmpname);
argv[i] = tmpname;
}
@@ -432,7 +432,7 @@ pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
/* See if we have an argument that needs fixing. */
if (strchr(argv[i], '/'))
{
- tmpname = xmalloc (256);
+ tmpname = (char *) xmalloc (256);
mpwify_filename (argv[i], tmpname);
argv[i] = tmpname;
}