summaryrefslogtreecommitdiff
path: root/rest/rest-proxy-call.c
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2010-09-02 11:15:32 +0100
committerRob Bradford <rob@linux.intel.com>2010-09-02 11:18:16 +0100
commit25f11693ee8ec474f5436ff30931f9db8b7db4ce (patch)
tree49b058970ff2228b7dd27527ebafc3156849571b /rest/rest-proxy-call.c
parent34aa54db8ab730ce8e5b29f00f169d635181af36 (diff)
downloadlibrest-25f11693ee8ec474f5436ff30931f9db8b7db4ce.tar.gz
proxy-call: Fix compiler warning with storing call closure
Diffstat (limited to 'rest/rest-proxy-call.c')
-rw-r--r--rest/rest-proxy-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index 4f59633..beff38a 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -948,7 +948,7 @@ rest_proxy_call_continuous (RestProxyCall *call,
closure->message = message;
closure->userdata = userdata;
- priv->cur_call_closure = closure;
+ priv->cur_call_closure = (RestProxyCallAsyncClosure *)closure;
/* Weakly reference this object. We remove our callback if it goes away. */
if (closure->weak_object)