From: Richard M. Stallman Date: Sun, 3 May 1998 02:24:36 +0000 (+0000) Subject: (Fformat): Fix casts when assigning buf. X-Git-Tag: emacs-20.3~1163 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c6db9d561899772a5ec8043ffea6ccb2a0ac4f2;p=emacs.git (Fformat): Fix casts when assigning buf. --- diff --git a/src/editfns.c b/src/editfns.c index 315354ec44b..5d45f7c4ede 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -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;