summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-20 21:49:01 +0200
committerMichael Adam <obnox@samba.org>2008-04-20 22:29:35 +0200
commitc57f1ab34537b43755c85c6a92b5a4708d532e0f (patch)
tree333c0089e2ead9c196c2e4047971bfd76855980b
parent712e40dad291f9a54dd41d7ac912d173628dbed6 (diff)
downloadsamba-c57f1ab34537b43755c85c6a92b5a4708d532e0f.tar.gz
samba-c57f1ab34537b43755c85c6a92b5a4708d532e0f.tar.bz2
samba-c57f1ab34537b43755c85c6a92b5a4708d532e0f.zip
vfs_cacheprime: fix C++ warning - make implicit cast explicit
Michael (This used to be commit 04d671b8c9bd5bf811e6dbd6981f1874eb49740c)
-rw-r--r--source3/modules/vfs_cacheprime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_cacheprime.c b/source3/modules/vfs_cacheprime.c
index be934f6bd6..fed051ca8d 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;
}