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:
@@ -1,8 +1,8 @@
|
|||||||
/* Utility - some helper classes
|
/* Utility - some helper classes
|
||||||
**
|
*
|
||||||
** Initial version by Axel Dörfler, [email protected]
|
* Copyright 2001-2005, Axel Dörfler, [email protected].
|
||||||
** This file may be used under the terms of the OpenBeOS License.
|
* This file may be used under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "Utility.h"
|
#include "Utility.h"
|
||||||
@@ -127,7 +127,7 @@ BlockArray::Remove(off_t value)
|
|||||||
if (fArray == NULL)
|
if (fArray == NULL)
|
||||||
return B_ENTRY_NOT_FOUND;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user