cast the pixmap data to a char* for the pixmap_mask_new

This commit is contained in:
Dana Jansens 2003-03-22 06:21:06 +00:00
parent 7425647268
commit 4135ceb672

View file

@ -164,7 +164,7 @@ gboolean read_mask(XrmDatabase db, char *rname, pixmap_mask **value)
}
if (ret) {
*value = pixmap_mask_new(w, h, b);
*value = pixmap_mask_new(w, h, (char*)b);
XFree(b);
}