aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-16 16:21:26 +0000
committerRichard M. Stallman1993-11-16 16:21:26 +0000
commit91098d38b03ef9112111d7aa5584d282c7a1ebe9 (patch)
tree89cf275be5a05e8471eafe396f31e6d448b03fe1 /src
parent650c0524517e78cdb139eadb1e9f839c0639af78 (diff)
downloademacs-91098d38b03ef9112111d7aa5584d282c7a1ebe9.tar.gz
emacs-91098d38b03ef9112111d7aa5584d282c7a1ebe9.zip
(doprnt): Cast the value alloca returns.
Diffstat (limited to 'src')
-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)
69 if ((format_end - format + 1) < sizeof (fixed_buffer)) 69 if ((format_end - format + 1) < sizeof (fixed_buffer))
70 fmtcpy = fixed_buffer; 70 fmtcpy = fixed_buffer;
71 else 71 else
72 fmtcpy = alloca (format_end - format + 1); 72 fmtcpy = (char *) alloca (format_end - format + 1);
73 73
74 bufsize--; 74 bufsize--;
75 75