Skip to content

Commit bc3f199

Browse files
committed
tier0: Fix warning about int64 -> double downcast
1 parent 298556b commit bc3f199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tier0/PMELib.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ extern int64 QueryCurrentCpuFrequency();
354354

355355
double PME::GetCPUClockSpeedFast(void)
356356
{
357-
return QueryCurrentCpuFrequency();
357+
return static_cast<double>( QueryCurrentCpuFrequency() );
358358
}
359359

360360

0 commit comments

Comments
 (0)