diff src/input-method-motif.c @ 438:84b14dcb0985 r21-2-27

Import from CVS: tag r21-2-27
author cvs
date Mon, 13 Aug 2007 11:32:25 +0200
parents 3ecd8885ac67
children 8de8e3f6228a
line wrap: on
line diff
--- a/src/input-method-motif.c	Mon Aug 13 11:31:26 2007 +0200
+++ b/src/input-method-motif.c	Mon Aug 13 11:32:25 2007 +0200
@@ -115,9 +115,10 @@
      default face, rather than foreground and background resources, or
      that the user can use set-frame-parameters to set xic attributes */
 
-#define res(name, class, representation, field, default_value) \
-  { name, class, representation, sizeof(xim_resources.field), \
-     XtOffsetOf(xim_resources_t, field), XtRString, default_value }
+#define res(name, class, representation, field, default_value)	\
+  { name, class, representation, sizeof(xim_resources.field),	\
+    XtOffsetOf(xim_resources_t, field),				\
+    XtRString, (XtPointer) (default_value) }
 
   static XtResource resources[] =
   {