libtracker: Fix Tests.cpp compilation

Change-Id: I5a738e71a92846cfe7cc46727be65ff0f57d4c39
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5328
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Pascal Abresch
2022-05-21 14:54:29 +00:00
committed by waddlesplash
parent 193c594405
commit eb9ff8e5a7
+4 -4
View File
@@ -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);