# HG changeset patch # User Richard M. Stallman # Date 894162276 0 # Node ID d1f79bb20a20a7df92e0ecf94e7437311226deab # Parent e9cc81bc8d9abfed3a6cdff033048c65aca210bf (Fformat): Fix casts when assigning buf. diff -r e9cc81bc8d9a -r d1f79bb20a20 src/editfns.c --- 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;