From 3c6db9d561899772a5ec8043ffea6ccb2a0ac4f2 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 3 May 1998 02:24:36 +0000 Subject: [PATCH] (Fformat): Fix casts when assigning buf. --- src/editfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index 315354ec44..5d45f7c4ed 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; -- 2.20.1