From 04d671b8c9bd5bf811e6dbd6981f1874eb49740c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 20 Apr 2008 21:49:01 +0200 Subject: [PATCH] vfs_cacheprime: fix C++ warning - make implicit cast explicit Michael --- source/modules/vfs_cacheprime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.4.GIT