libtracker: Fix Tests.cpp compilation
Change-Id: I5a738e71a92846cfe7cc46727be65ff0f57d4c39 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5328 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
193c594405
commit
eb9ff8e5a7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user