fix the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27260 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
88e8ee78db
commit
7c30291e7e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user