Fix x86_64 build

This commit is contained in:
Dario Casalinuovo
2016-05-31 03:26:36 +02:00
parent fbabc74ddf
commit 53058b8afc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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;