PluginManager: Fix build for x86_64

This commit is contained in:
Dario Casalinuovo
2016-03-26 00:39:14 +01:00
parent a204259b1c
commit 9ab61bb71c
+2 -2
View File
@@ -85,7 +85,7 @@ public:
fFallbackBuffer->GetSize(&bufSize);
if (fFallbackBuffer->Position() == position
&& position+size > bufSize) {
&& position+size > (size_t)bufSize) {
// TODO: Possibly part of the data we have
// to supply is cached.
ret = fData->Read(buffer, size);
@@ -95,7 +95,7 @@ public:
return ret;
}
if (position+size <= bufSize)
if (position+size <= (size_t)bufSize)
return fFallbackBuffer->ReadAt(position, buffer, size);
return ret;