Fix the "C-x =" display of the character info for LRE, LRO, RLE, and RLO.
[bpt/emacs.git] / lwlib / lwlib-utils.c
index c590270..7a0dd1b 100644 (file)
@@ -129,7 +129,7 @@ XtCompositeChildren (Widget widget, unsigned int *number)
       return NULL;
     }
   n = cw->composite.num_children;
-  result = (Widget*)XtMalloc (n * sizeof (Widget));
+  result = (Widget*)(void*)XtMalloc (n * sizeof (Widget));
   *number = n;
   for (i = 0; i < n; i++)
     result [i] = cw->composite.children [i];