summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-20 20:59:44 +0100
committerVolker Lendecke <vl@samba.org>2007-12-21 09:58:20 +0100
commitdea7d2223d0d7e5db44cb8df7bf8d6b2ad1eb91f (patch)
tree1718d39708bd319921f92e163bd7e227c79e2d60
parent0cdf5cfdfbb6b412e1d365af4f2daf20087b37f5 (diff)
downloadsamba-dea7d2223d0d7e5db44cb8df7bf8d6b2ad1eb91f.tar.gz
samba-dea7d2223d0d7e5db44cb8df7bf8d6b2ad1eb91f.tar.bz2
samba-dea7d2223d0d7e5db44cb8df7bf8d6b2ad1eb91f.zip
Fix a C++ warning
(This used to be commit 7e1d9b561f6df233b8c7eaec83d1e4207b5a2fb0)
-rw-r--r--source3/smbd/vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 96d71da8d9..fefae38932 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -280,7 +280,7 @@ void *vfs_fetch_fsp_extension(vfs_handle_struct *handle, files_struct *fsp)
{
struct vfs_fsp_data *head;
- head = vfs_memctx_fsp_extension(handle, fsp);
+ head = (struct vfs_fsp_data *)vfs_memctx_fsp_extension(handle, fsp);
if (head != NULL) {
return EXT_DATA_AREA(head);
}