address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -267,7 +267,7 @@ Keymap::Load(entry_ref &ref)
|
|||||||
if (!fChars)
|
if (!fChars)
|
||||||
delete[] fChars;
|
delete[] fChars;
|
||||||
fChars = new char[fCharsSize];
|
fChars = new char[fCharsSize];
|
||||||
if (file.Read(fChars, fCharsSize) != fCharsSize)
|
if ((unsigned)file.Read(fChars, fCharsSize) != fCharsSize)
|
||||||
return B_BAD_VALUE;
|
return B_BAD_VALUE;
|
||||||
|
|
||||||
return B_OK;
|
return B_OK;
|
||||||
|
|||||||
@@ -22,4 +22,6 @@ int main(int count, char **args) {
|
|||||||
|
|
||||||
delete_area(newArea);
|
delete_area(newArea);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user