From: Michael Adam Date: Sun, 20 Apr 2008 19:49:01 +0000 (+0200) Subject: vfs_cacheprime: fix C++ warning - make implicit cast explicit X-Git-Tag: samba-3.3.0pre1~2641^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=04d671b8c9bd5bf811e6dbd6981f1874eb49740c;p=thirdparty%2Fsamba.git vfs_cacheprime: fix C++ warning - make implicit cast explicit Michael --- diff --git a/source/modules/vfs_cacheprime.c b/source/modules/vfs_cacheprime.c index be934f6bd60..fed051ca8d5 100644 --- a/source/modules/vfs_cacheprime.c +++ b/source/modules/vfs_cacheprime.c @@ -54,7 +54,7 @@ static bool prime_cache( SMB_OFF_T * last; ssize_t nread; - last = VFS_ADD_FSP_EXTENSION(handle, fsp, SMB_OFF_T); + last = (SMB_OFF_T *)VFS_ADD_FSP_EXTENSION(handle, fsp, SMB_OFF_T); if (!last) { return False; }