svn commit: samba r19147 - in branches/SAMBA_3_0/source/smbd: .
vlendec at samba.org
vlendec at samba.org
Fri Oct 6 17:28:53 GMT 2006
Author: vlendec
Date: 2006-10-06 17:28:52 +0000 (Fri, 06 Oct 2006)
New Revision: 19147
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19147
Log:
This is WRONG, but the way the VFS works this is the only fix to get rid of
this type-punned warning.
Volker
Modified:
branches/SAMBA_3_0/source/smbd/vfs.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/vfs.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/vfs.c 2006-10-06 16:17:19 UTC (rev 19146)
+++ branches/SAMBA_3_0/source/smbd/vfs.c 2006-10-06 17:28:52 UTC (rev 19147)
@@ -104,7 +104,7 @@
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)
More information about the samba-cvs
mailing list