diff options
author | Michael Adam <obnox@samba.org> | 2008-04-20 21:49:01 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-20 22:29:35 +0200 |
commit | c57f1ab34537b43755c85c6a92b5a4708d532e0f (patch) | |
tree | 333c0089e2ead9c196c2e4047971bfd76855980b /source3/modules | |
parent | 712e40dad291f9a54dd41d7ac912d173628dbed6 (diff) | |
download | samba-c57f1ab34537b43755c85c6a92b5a4708d532e0f.tar.gz samba-c57f1ab34537b43755c85c6a92b5a4708d532e0f.tar.xz samba-c57f1ab34537b43755c85c6a92b5a4708d532e0f.zip |
vfs_cacheprime: fix C++ warning - make implicit cast explicit
Michael
(This used to be commit 04d671b8c9bd5bf811e6dbd6981f1874eb49740c)
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_cacheprime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_cacheprime.c b/source3/modules/vfs_cacheprime.c index be934f6bd60..fed051ca8d5 100644 --- a/source3/modules/vfs_cacheprime.c +++ b/source3/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; } |