HaikuDepot: Fix x86_64 build failure
Fix the following errors: PackageInfo.cpp:85:23: error: comparison between signed and unsigned integer expressions PackageInfo.cpp:93:21: error: comparison between signed and unsigned integer expressions Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
This commit is contained in:
parent
3594baabf8
commit
6762f5f678
@ -80,7 +80,7 @@ SharedBitmap::SharedBitmap(BPositionIO& data)
|
||||
if (fBuffer != NULL) {
|
||||
data.Seek(0, SEEK_SET);
|
||||
|
||||
size_t bytesRead = 0;
|
||||
off_t bytesRead = 0;
|
||||
size_t chunkSize = std::min((off_t)4096, fSize);
|
||||
while (bytesRead < fSize) {
|
||||
ssize_t read = data.Read(fBuffer + bytesRead, chunkSize);
|
||||
|
Loading…
Reference in New Issue
Block a user