From 91098d38b03ef9112111d7aa5584d282c7a1ebe9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 16 Nov 1993 16:21:26 +0000 Subject: [PATCH] (doprnt): Cast the value alloca returns. --- src/doprnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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--; -- 2.39.5