summaryrefslogtreecommitdiff
path: root/source4/libcli/clideltree.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/clideltree.c')
-rw-r--r--source4/libcli/clideltree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/clideltree.c b/source4/libcli/clideltree.c
index 33c39ea093..d191bd277a 100644
--- a/source4/libcli/clideltree.c
+++ b/source4/libcli/clideltree.c
@@ -33,7 +33,7 @@ struct delete_state {
*/
static void delete_fn(struct clilist_file_info *finfo, const char *name, void *state)
{
- struct delete_state *dstate = state;
+ struct delete_state *dstate = (struct delete_state *)state;
char *s, *n;
if (ISDOT(finfo->name) || ISDOTDOT(finfo->name)) {
return;