summaryrefslogtreecommitdiff
path: root/libegg/eggsmclient-xsmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libegg/eggsmclient-xsmp.c')
-rw-r--r--libegg/eggsmclient-xsmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libegg/eggsmclient-xsmp.c b/libegg/eggsmclient-xsmp.c
index 808fffc0..d93dcd1a 100644
--- a/libegg/eggsmclient-xsmp.c
+++ b/libegg/eggsmclient-xsmp.c
@@ -1153,7 +1153,7 @@ array_prop (const char *name, ...)
va_end (ap);
prop->num_vals = vals->len;
- prop->vals = (SmPropValue *)vals->data;
+ prop->vals = (SmPropValue *) (gpointer) vals->data;
g_array_free (vals, FALSE);
@@ -1186,7 +1186,7 @@ ptrarray_prop (const char *name, GPtrArray *values)
}
prop->num_vals = vals->len;
- prop->vals = (SmPropValue *)vals->data;
+ prop->vals = (SmPropValue *) (gpointer) vals->data;
g_array_free (vals, FALSE);