summaryrefslogtreecommitdiff
path: root/src/core/async-getprop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/async-getprop.c')
-rw-r--r--src/core/async-getprop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/async-getprop.c b/src/core/async-getprop.c
index fb5484c1..31b0edc3 100644
--- a/src/core/async-getprop.c
+++ b/src/core/async-getprop.c
@@ -586,7 +586,7 @@ ag_task_get_reply_and_free (AgGetPropertyTask *task,
int *actual_format,
unsigned long *nitems,
unsigned long *bytesafter,
- char **prop)
+ unsigned char **prop)
{
Display *dpy;
@@ -615,7 +615,7 @@ ag_task_get_reply_and_free (AgGetPropertyTask *task,
*nitems = task->n_items;
*bytesafter = task->bytes_after;
- *prop = task->data; /* pass out ownership of task->data */
+ *prop = (unsigned char*) task->data; /* pass out ownership of task->data */
SyncHandle ();