From 7c30291e7e09da838d7893b95bf47e1b636cbd51 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Mon, 1 Sep 2008 06:55:22 +0000 Subject: [PATCH] fix the build git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27260 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 79632da6cb..f75f38fcdd 100644 --- a/src/tools/fs_shell/file_map.cpp +++ b/src/tools/fs_shell/file_map.cpp @@ -368,7 +368,7 @@ FileMap::Translate(fssh_off_t offset, fssh_size_t size, fssh_file_io_vec* vecs, } if (offset + size > fSize) { if (align > 1) { - fssh_off_t alignedSize = (fSize + align - 1) & ~(off_t)(align - 1); + fssh_off_t alignedSize = (fSize + align - 1) & ~(fssh_off_t)(align - 1); if (offset + size >= alignedSize) padLastVec = alignedSize - fSize; }