diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-10-06 17:28:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:16 -0500 |
commit | 1362fd0b687294ac3e944797a6f87284b545fa22 (patch) | |
tree | 0a872d86b554a4f514b7e91838d608691815942f | |
parent | b61d1e665e4f4bf0b8e2d3bdc8fa1135279a903d (diff) | |
download | samba-1362fd0b687294ac3e944797a6f87284b545fa22.tar.gz samba-1362fd0b687294ac3e944797a6f87284b545fa22.tar.bz2 samba-1362fd0b687294ac3e944797a6f87284b545fa22.zip |
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)
-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) |