diff options
-rw-r--r-- | source3/smbd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index ed6b3dd4c4..3ed56d3bf6 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -104,7 +104,7 @@ static inline void vfs_set_operation(struct vfs_ops * vfs, vfs_op_type which, struct vfs_handle_struct * handle, void * op) { ((struct vfs_handle_struct **)&vfs->handles)[which] = handle; - ((void**)&vfs->ops)[which] = op; + ((void **)(void *)&vfs->ops)[which] = op; } BOOL vfs_init_custom(connection_struct *conn, const char *vfs_object) |