changeset 21914:d1f79bb20a20

(Fformat): Fix casts when assigning buf.
author Richard M. Stallman <rms@gnu.org>
date Sun, 03 May 1998 02:24:36 +0000
parents e9cc81bc8d9a
children 8f1159b417c2
files src/editfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Sun May 03 02:05:54 1998 +0000
+++ b/src/editfns.c	Sun May 03 02:24:36 1998 +0000
@@ -2455,9 +2455,9 @@
   /* 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;