address compiler warning

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty 2004-11-21 18:29:56 +00:00
parent 885480c84d
commit a14ccd825e
2 changed files with 3 additions and 1 deletions

View File

@ -267,7 +267,7 @@ Keymap::Load(entry_ref &ref)
if (!fChars)
delete[] fChars;
fChars = new char[fCharsSize];
if (file.Read(fChars, fCharsSize) != fCharsSize)
if ((unsigned)file.Read(fChars, fCharsSize) != fCharsSize)
return B_BAD_VALUE;
return B_OK;

View File

@ -22,4 +22,6 @@ int main(int count, char **args) {
delete_area(newArea);
}
return 0;
}