summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-06-24 02:53:36 +0000
committerRichard Stallman <rms@gnu.org>1992-06-24 02:53:36 +0000
commitb36d7dd7b4d375ae77e50edc3a78add4e49e0e0f (patch)
treec7a5b6e276da7e45c3f5b9e3805958a9bdeb5f35 /gcc/xcoffout.c
parentcac18c305427407cb71d68bb6a6c8147d85ba883 (diff)
downloadgcc-b36d7dd7b4d375ae77e50edc3a78add4e49e0e0f.tar.gz
*** empty log message ***
From-SVN: r1255
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;