This should fix an annoying warning that newer GCCs seem to like.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14676 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-11-04 09:56:36 +00:00
parent 5abd5613d6
commit 5112e701f3

View File

@ -1,7 +1,7 @@
/* Utility - some helper classes
**
** Initial version by Axel Dörfler, axeld@pinc-software.de
** This file may be used under the terms of the OpenBeOS License.
*
* Copyright 2001-2005, Axel Dörfler, axeld@pinc-software.de.
* This file may be used under the terms of the MIT License.
*/
@ -127,7 +127,7 @@ BlockArray::Remove(off_t value)
if (fArray == NULL)
return B_ENTRY_NOT_FOUND;
return fArray->Remove(value) ? B_OK : B_ENTRY_NOT_FOUND;
return fArray->Remove(value) ? (status_t)B_OK : (status_t)B_ENTRY_NOT_FOUND;
}