PluginManager: Fix build for x86_64
This commit is contained in:
@@ -85,7 +85,7 @@ public:
|
|||||||
fFallbackBuffer->GetSize(&bufSize);
|
fFallbackBuffer->GetSize(&bufSize);
|
||||||
|
|
||||||
if (fFallbackBuffer->Position() == position
|
if (fFallbackBuffer->Position() == position
|
||||||
&& position+size > bufSize) {
|
&& position+size > (size_t)bufSize) {
|
||||||
// TODO: Possibly part of the data we have
|
// TODO: Possibly part of the data we have
|
||||||
// to supply is cached.
|
// to supply is cached.
|
||||||
ret = fData->Read(buffer, size);
|
ret = fData->Read(buffer, size);
|
||||||
@@ -95,7 +95,7 @@ public:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (position+size <= bufSize)
|
if (position+size <= (size_t)bufSize)
|
||||||
return fFallbackBuffer->ReadAt(position, buffer, size);
|
return fFallbackBuffer->ReadAt(position, buffer, size);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user