Commit 50af5100 authored by Jan Djärv's avatar Jan Djärv
Browse files

* fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning

fringe_faces, cast result from xmalloc/xrealloc to Lisp_Object *.
parent a2d5fca0
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)
......
......@@ -1301,7 +1301,7 @@ If BITMAP already exists, the existing definition is replaced. */)
= ((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 @@ init_fringe ()
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++)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment