mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +03:00
r19147: This is WRONG, but the way the VFS works this is the only fix to get rid of
this type-punned warning. Volker (This used to be commit d815b1a7e9609a760f93433bf022826f58f256db)
This commit is contained in:
parent
b61d1e665e
commit
1362fd0b68
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user