Commit 3c6db9d5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fformat): Fix casts when assigning buf.

parent b569d7ea
......@@ -2455,9 +2455,9 @@ Use %% to put a single % into the output.")
/* Allocate the space for the result.
Note that TOTAL is an overestimate. */
if (total < 1000)
buf = (unsigned char *) alloca (total + 1);
buf = (char *) alloca (total + 1);
else
buf = (unsigned char *) xmalloc (total + 1);
buf = (char *) xmalloc (total + 1);
p = buf;
nchars = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment