1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Fix a C++ warning

(This used to be commit 7e1d9b561f6df233b8c7eaec83d1e4207b5a2fb0)
This commit is contained in:
Volker Lendecke 2007-12-20 20:59:44 +01:00
parent 0cdf5cfdfb
commit dea7d2223d

View File

@ -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);
}