diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/xprops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/xprops.c b/src/core/xprops.c index 80dd7b59..ea869799 100644 --- a/src/core/xprops.c +++ b/src/core/xprops.c @@ -758,7 +758,7 @@ wm_hints_from_results (GetPropertyResults *results, hints = ag_Xmalloc0 (sizeof (XWMHints)); - raw = (xPropWMHints*) results->prop; + raw = (xPropWMHints*) (gpointer) results->prop; hints->flags = raw->flags; hints->input = (raw->input ? True : False); @@ -880,7 +880,7 @@ size_hints_from_results (GetPropertyResults *results, if (results->n_items < OldNumPropSizeElements) return FALSE; - raw = (xPropSizeHints*) results->prop; + raw = (xPropSizeHints*) (gpointer) results->prop; hints = ag_Xmalloc (sizeof (XSizeHints)); |