summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-11-16 16:21:26 +0000
committerRichard M. Stallman <rms@gnu.org>1993-11-16 16:21:26 +0000
commit91098d38b03ef9112111d7aa5584d282c7a1ebe9 (patch)
tree89cf275be5a05e8471eafe396f31e6d448b03fe1
parent650c0524517e78cdb139eadb1e9f839c0639af78 (diff)
downloademacs-91098d38b03ef9112111d7aa5584d282c7a1ebe9.tar.gz
(doprnt): Cast the value alloca returns.
-rw-r--r--src/doprnt.c2
1 files changed, 1 insertions, 1 deletions
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--;