From 03c9250f858c57945b4b30dba1e1b79fa235498e Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Tue, 5 Aug 2008 08:33:40 +0000 Subject: [PATCH] gcc4 build fix git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26813 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/fs_shell/file_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/fs_shell/file_map.cpp b/src/tools/fs_shell/file_map.cpp index 28c3c56050..1380f4c527 100644 --- a/src/tools/fs_shell/file_map.cpp +++ b/src/tools/fs_shell/file_map.cpp @@ -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);