Fixed warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32058 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2009-08-01 11:03:15 +00:00
parent 4bc68ed5c2
commit 86ee03ec73
+1 -1
View File
@@ -511,7 +511,7 @@ FontManager::_PrecacheFontFile(const ServerFont* font)
while (true) {
// We just want the file in the kernel file cache...
ssize_t read = file.Read(buffer, bufferSize);
if (read < bufferSize)
if (read < (ssize_t) bufferSize)
break;
}