summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-06-24 02:53:36 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-06-24 02:53:36 +0000
commit2bac375fdae4ed85c4263d8b33e2096acd188a3c (patch)
treec7a5b6e276da7e45c3f5b9e3805958a9bdeb5f35 /gcc/xcoffout.c
parent734ebdb1f928f33838385171e3509df87700f48a (diff)
downloadgcc-2bac375fdae4ed85c4263d8b33e2096acd188a3c.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/xcoffout.c')
-rw-r--r--gcc/xcoffout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c
index 6e7c50f26e2..1b3c4e3ae48 100644
--- a/gcc/xcoffout.c
+++ b/gcc/xcoffout.c
@@ -415,7 +415,7 @@ xcoffout_declare_function (file, decl, name)
{
if (name[i] == '[')
{
- n = alloca (i + 1);
+ n = (char *) alloca (i + 1);
strncpy (n, name, i);
n[i] = '\0';
break;