Mercurial > hg > xemacs-beta
diff src/faces.c @ 185:3d6bfa290dbd r20-3b19
Import from CVS: tag r20-3b19
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:55:28 +0200 |
parents | e121b013d1f0 |
children | a2f645c6b9f8 |
line wrap: on
line diff
--- a/src/faces.c Mon Aug 13 09:54:24 2007 +0200 +++ b/src/faces.c Mon Aug 13 09:55:28 2007 +0200 @@ -383,7 +383,7 @@ allocate_face (void) { struct Lisp_Face *result = - alloc_lcrecord (sizeof (struct Lisp_Face), lrecord_face); + alloc_lcrecord_type (struct Lisp_Face, lrecord_face); reset_face (result); return result; @@ -405,7 +405,8 @@ /* This function can GC */ Lisp_Object key, contents; Lisp_Object *face_list; - struct face_list_closure *fcl = face_list_closure; + struct face_list_closure *fcl = + (struct face_list_closure *) face_list_closure; CVOID_TO_LISP (key, hash_key); VOID_TO_LISP (contents, hash_contents); face_list = fcl->face_list; @@ -511,7 +512,8 @@ void *face_inheritance_closure) { Lisp_Object key, contents; - struct face_inheritance_closure *fcl = face_inheritance_closure; + struct face_inheritance_closure *fcl = + (struct face_inheritance_closure *) face_inheritance_closure; CVOID_TO_LISP (key, hash_key); VOID_TO_LISP (contents, hash_contents);