From eb9ff8e5a795ffe1a087dd133df3502df6e5ab13 Mon Sep 17 00:00:00 2001 From: Pascal Abresch Date: Sat, 21 May 2022 08:36:57 +0200 Subject: [PATCH] libtracker: Fix Tests.cpp compilation Change-Id: I5a738e71a92846cfe7cc46727be65ff0f57d4c39 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5328 Tested-by: Commit checker robot Reviewed-by: waddlesplash --- src/kits/tracker/Tests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kits/tracker/Tests.cpp b/src/kits/tracker/Tests.cpp index 35a59dded2..6190ce861c 100644 --- a/src/kits/tracker/Tests.cpp +++ b/src/kits/tracker/Tests.cpp @@ -174,10 +174,10 @@ IconSpewer::DrawSomeNew() ASSERT(view); BRect bounds(target->Bounds()); - view->SetHighColor(Color(255, 255, 255)); + view->SetHighColor(255, 255, 255); view->FillRect(bounds); - view->SetHighColor(Color(0, 0, 0)); + view->SetHighColor(0, 0, 0); char buffer[256]; if (cycleTime) { sprintf(buffer, "last cycle time %" B_PRId64 " ms", cycleTime/1000); @@ -232,10 +232,10 @@ IconSpewer::DrawSomeOld() ASSERT(view); BRect bounds(target->Bounds()); - view->SetHighColor(Color(255, 255, 255)); + view->SetHighColor(255, 255, 255); view->FillRect(bounds); - view->SetHighColor(Color(0, 0, 0)); + view->SetHighColor(0, 0, 0); char buffer[256]; if (cycleTime) { sprintf(buffer, "last cycle time %Ld ms", cycleTime/1000);