git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
712e40d
)
vfs_cacheprime: fix C++ warning - make implicit cast explicit
author
Michael Adam
<obnox@samba.org>
Sun, 20 Apr 2008 19:49:01 +0000
(21:49 +0200)
committer
Michael Adam
<obnox@samba.org>
Sun, 20 Apr 2008 20:29:35 +0000
(22:29 +0200)
Michael
(This used to be commit
04d671b8c9bd5bf811e6dbd6981f1874eb49740c
)
source3/modules/vfs_cacheprime.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_cacheprime.c
b/source3/modules/vfs_cacheprime.c
index be934f6bd602c0db70e28ddc2bad24c2fad88abd..fed051ca8d5b5040101187c076284390d7df0529 100644
(file)
--- 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;
}