address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
885480c84d
commit
a14ccd825e
@ -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;
|
||||
|
@ -22,4 +22,6 @@ int main(int count, char **args) {
|
||||
|
||||
delete_area(newArea);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user