From 5112e701f3cb5c31de31dc0b127459e8a95ad81d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 4 Nov 2005 09:56:36 +0000 Subject: [PATCH] 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 --- .../add-ons/kernel/file_systems/bfs/r5/Utility.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tests/add-ons/kernel/file_systems/bfs/r5/Utility.cpp b/src/tests/add-ons/kernel/file_systems/bfs/r5/Utility.cpp index 8e01fcb459..b05f568c5f 100644 --- a/src/tests/add-ons/kernel/file_systems/bfs/r5/Utility.cpp +++ b/src/tests/add-ons/kernel/file_systems/bfs/r5/Utility.cpp @@ -1,8 +1,8 @@ /* 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. + */ #include "Utility.h" @@ -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; }