cast the pixmap data to a char* for the pixmap_mask_new
This commit is contained in:
parent
7425647268
commit
4135ceb672
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue