changeset 4999:ebafcd6e9f4b

fix compile error in mapcarX -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-02-07 Ben Wing <ben@xemacs.org> * fns.c (mapcarX): C++ requires explicit cast to enum lrecord_type.
author Ben Wing <ben@xemacs.org>
date Sun, 07 Feb 2010 00:32:54 -0600
parents b46c89ccbed3
children 714d854d00e9
files src/ChangeLog src/fns.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Feb 06 12:28:19 2010 +0000
+++ b/src/ChangeLog	Sun Feb 07 00:32:54 2010 -0600
@@ -1,3 +1,8 @@
+2010-02-07  Ben Wing  <ben@xemacs.org>
+
+	* fns.c (mapcarX):
+	C++ requires explicit cast to enum lrecord_type.
+
 2010-02-06  Ben Wing  <ben@xemacs.org>
 
 	* mule-wnnfns.c:
--- a/src/fns.c	Sat Feb 06 12:28:19 2010 +0000
+++ b/src/fns.c	Sun Feb 07 00:32:54 2010 -0600
@@ -3267,7 +3267,7 @@
   enum lrecord_type lisp_vals_type;
 
   assert (LRECORDP (lisp_vals));
-  lisp_vals_type = XRECORD_LHEADER (lisp_vals)->type;
+  lisp_vals_type = (enum lrecord_type) XRECORD_LHEADER (lisp_vals)->type;
 
   args = alloca_array (Lisp_Object, nsequences + 1);
   args[0] = function;