From: Richard M. Stallman Date: Tue, 16 Nov 1993 16:21:26 +0000 (+0000) Subject: (doprnt): Cast the value alloca returns. X-Git-Tag: emacs-19.34~10798 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=91098d38b03ef9112111d7aa5584d282c7a1ebe9;p=emacs.git (doprnt): Cast the value alloca returns. --- diff --git a/src/doprnt.c b/src/doprnt.c index 1683c414a08..7abe5fa3a6b 100644 --- a/src/doprnt.c +++ b/src/doprnt.c @@ -69,7 +69,7 @@ doprnt (buffer, bufsize, format, format_end, nargs, args) 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--;