I'll commit this tomorrow, if nobody objects.
src/ChangeLog addition:
2006-01-19 Marcus Crestani <crestani(a)xemacs.org>
* objects-x.c (x_find_charset_font): Add cast to fix C++ build.
xemacs-21.5 source patch:
Diff command: cvs -q diff -u
Files affected: src/objects-x.c
Index: src/objects-x.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/objects-x.c,v
retrieving revision 1.35
diff -u -r1.35 objects-x.c
--- src/objects-x.c 24 Dec 2005 22:31:53 -0000 1.35
+++ src/objects-x.c 19 Jan 2006 14:06:39 -0000
@@ -1443,7 +1443,8 @@
if (x_font_spec_matches_charset (XDEVICE (device), charset,
intname, Qnil, 0, -1, 0))
{
- result = build_ext_string (intname, Qx_font_name_encoding);
+ result = build_ext_string ((const Extbyte *) intname,
+ Qx_font_name_encoding);
break;
}
}
--
Marcus