Mercurial > emacs
changeset 59581:26fb5a3f95ac
* fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning
fringe_faces, cast result from xmalloc/xrealloc to Lisp_Object *.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sun, 16 Jan 2005 09:59:03 +0000 |
parents | f43d0816e9c3 |
children | 92796330257a |
files | src/ChangeLog src/fringe.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Sun Jan 16 09:17:02 2005 +0000 +++ b/src/ChangeLog Sun Jan 16 09:59:03 2005 +0000 @@ -1,3 +1,8 @@ +2005-01-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> + + * fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning + fringe_faces, cast result from xmalloc/xrealloc to Lisp_Object *. + 2005-01-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW)
--- a/src/fringe.c Sun Jan 16 09:17:02 2005 +0000 +++ b/src/fringe.c Sun Jan 16 09:59:03 2005 +0000 @@ -1301,7 +1301,7 @@ = ((struct fringe_bitmap **) xrealloc (fringe_bitmaps, max_fringe_bitmaps * sizeof (struct fringe_bitmap *))); fringe_faces - = (unsigned *) xrealloc (fringe_faces, max_fringe_bitmaps * sizeof (Lisp_Object)); + = (Lisp_Object *) xrealloc (fringe_faces, max_fringe_bitmaps * sizeof (Lisp_Object)); for (; i < max_fringe_bitmaps; i++) { @@ -1472,7 +1472,7 @@ fringe_bitmaps = (struct fringe_bitmap **) xmalloc (max_fringe_bitmaps * sizeof (struct fringe_bitmap *)); fringe_faces - = (unsigned *) xmalloc (max_fringe_bitmaps * sizeof (Lisp_Object)); + = (Lisp_Object *) xmalloc (max_fringe_bitmaps * sizeof (Lisp_Object)); for (i = 0; i < max_fringe_bitmaps; i++) {