if (XtWindow(w) != 0) { /* only check if window exists! */
XGetWindowProperty(XtDisplay(w), XtWindow(w), wm_state, 0L, 2L,
False, AnyPropertyType, &act_type, &act_fmt, &nitems_ret,
- &bytes_after, (u_char **) &property);
+ &bytes_after, (char_u **) &property);
if (nitems_ret == 2 && property[0] == IconicState) {
return True;
}
#endif
/* Returns empty string if it is NULL. */
-#define EMPTY_IF_NULL(x) ((x) ? (x) : (u_char *)"")
+#define EMPTY_IF_NULL(x) ((x) ? (x) : (char_u *)"")
#ifdef FEAT_LANGMAP
/*