From: Jim Wilson Date: Wed, 22 Dec 1993 19:25:04 +0000 (-0800) Subject: (main): Cast alloca result to char * to avoid warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c0e5268f9b58ac471d91aeefc275294479599cc;p=gcc.git (main): Cast alloca result to char * to avoid warning. From-SVN: r6268 --- diff --git a/gcc/cccp.c b/gcc/cccp.c index c2c9f9ec54a..ba1c1293a40 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -1879,7 +1879,7 @@ main (argc, argv) q = in_fname; /* Copy remainder to mungable area. */ - p = alloca (strlen(q) + 8); + p = (char *) alloca (strlen(q) + 8); strcpy (p, q); /* Output P, but remove known suffixes. */