Mercurial > emacs
diff src/editfns.c @ 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 | c2e75fe68665 |
| children | edca9002c740 |
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;
