Fixed warning (wrong format).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13729 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
845ba70ef5
commit
a22dce79df
@ -197,7 +197,7 @@ NormalPulseView::Draw(BRect rect)
|
||||
if (cpuSpeed > 1000 && (cpuSpeed % 10) == 0)
|
||||
snprintf(buffer, sizeof(buffer), "%.2f GHz", cpuSpeed / 1000.0f);
|
||||
else
|
||||
snprintf(buffer, sizeof(buffer), "%d MHz", cpuSpeed);
|
||||
snprintf(buffer, sizeof(buffer), "%ld MHz", cpuSpeed);
|
||||
SetDrawingMode(B_OP_OVER);
|
||||
SetHighColor(240, 240, 240);
|
||||
SetFontSize(fProcessorFontSize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user