]> code.delx.au - gnu-emacs/commitdiff
(Fformat): Fix casts when assigning buf.
authorRichard M. Stallman <rms@gnu.org>
Sun, 3 May 1998 02:24:36 +0000 (02:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 3 May 1998 02:24:36 +0000 (02:24 +0000)
src/editfns.c

index 315354ec44bda753161d7d9fcf24af512a59f72b..5d45f7c4ede623884aa507fd1254d18680c9900a 100644 (file)
@@ -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;