summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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)
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--;