From a22dce79df521dc4019347ad9ff97f691e51eb67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 18 Jul 2005 06:53:36 +0000 Subject: [PATCH] Fixed warning (wrong format). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13729 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/pulse/NormalPulseView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/pulse/NormalPulseView.cpp b/src/apps/pulse/NormalPulseView.cpp index 2481284e70..68bed58120 100644 --- a/src/apps/pulse/NormalPulseView.cpp +++ b/src/apps/pulse/NormalPulseView.cpp @@ -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);