summaryrefslogtreecommitdiff
path: root/source4/libcli/smb_composite/loadfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/smb_composite/loadfile.c')
-rw-r--r--source4/libcli/smb_composite/loadfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb_composite/loadfile.c b/source4/libcli/smb_composite/loadfile.c
index 9b65d04ef3..d42d3329b6 100644
--- a/source4/libcli/smb_composite/loadfile.c
+++ b/source4/libcli/smb_composite/loadfile.c
@@ -180,7 +180,7 @@ static NTSTATUS loadfile_close(struct composite_context *c,
*/
static void loadfile_handler(struct smbcli_request *req)
{
- struct composite_context *c = req->async.private;
+ struct composite_context *c = (struct composite_context *)req->async.private;
struct loadfile_state *state = talloc_get_type(c->private_data, struct loadfile_state);
/* when this handler is called, the stage indicates what