changeset 5053:b98e742f0b05

(doprnt): Cast the value alloca returns.
author Richard M. Stallman <rms@gnu.org>
date Tue, 16 Nov 1993 16:21:26 +0000
parents b605cd28d596
children 34c280d4e1af
files src/doprnt.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/doprnt.c	Tue Nov 16 10:47:27 1993 +0000
+++ b/src/doprnt.c	Tue Nov 16 16:21:26 1993 +0000
@@ -69,7 +69,7 @@
   if ((format_end - format + 1) < sizeof (fixed_buffer))
     fmtcpy = fixed_buffer;
   else
-    fmtcpy = alloca (format_end - format + 1);
+    fmtcpy = (char *) alloca (format_end - format + 1);
 
   bufsize--;