git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b61d1e6
)
r19147: This is WRONG, but the way the VFS works this is the only fix to get rid of
author
Volker Lendecke
<vlendec@samba.org>
Fri, 6 Oct 2006 17:28:52 +0000
(17:28 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:15:16 +0000
(12:15 -0500)
this type-punned warning.
Volker
(This used to be commit
d815b1a7e9609a760f93433bf022826f58f256db
)
source3/smbd/vfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/vfs.c
b/source3/smbd/vfs.c
index ed6b3dd4c4d313114c38893a60d23f7f2a8a8687..3ed56d3bf6fa29ecb0057d7f22a2099d796090c1 100644
(file)
--- 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)