gcc4 build fix

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26813 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2008-08-05 08:33:40 +00:00
parent 6e758d67b9
commit 03c9250f85

View File

@ -316,7 +316,7 @@ FileMap::_Cache(fssh_off_t offset, fssh_off_t size)
while (status == FSSH_B_OK && mapEnd < end) {
// We don't have the requested extents yet, retrieve them
size_t vecCount = kMaxVecs;
fssh_size_t vecCount = kMaxVecs;
status = vfs_get_file_map(Vnode(), mapEnd, ~0UL, vecs, &vecCount);
if (status == FSSH_B_OK || status == FSSH_B_BUFFER_OVERFLOW)
status = _Add(vecs, vecCount, mapEnd);