Fix x86_64 build
This commit is contained in:
@@ -131,7 +131,7 @@ BAdapterIO::_WaitForData(size_t size)
|
||||
if (ret != B_OK)
|
||||
return;
|
||||
|
||||
while(bufferSize < size) {
|
||||
while((size_t)bufferSize < size) {
|
||||
GetSize(&bufferSize);
|
||||
snooze(100000);
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
if (GetSize(&totalSize) != B_OK)
|
||||
return B_UNSUPPORTED;
|
||||
|
||||
if (position+size < totalSize)
|
||||
if (position+size < (size_t)totalSize)
|
||||
return ReadAt(position, buffer, size);
|
||||
|
||||
return B_NOT_SUPPORTED;
|
||||
|
||||
Reference in New Issue
Block a user