1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-01 17:39:21 +03:00

fix some icc on linux errors in the fractal tree refs[t:2500]

git-svn-id: file:///svn/toku/tokudb@18994 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Rich Prohaska
2013-04-16 23:59:05 -04:00
committed by Yoni Fogel
parent f6749714bc
commit e9bd5c759f

View File

@@ -258,7 +258,7 @@ toku_get_processor_frequency_cpuinfo(uint64_t *hzret) {
unsigned int cpu;
sscanf(buf, "processor : %u", &cpu);
unsigned int ma, mb;
if (sscanf(buf, "cpu MHz : %d.%d", &ma, &mb) == 2) {
if (sscanf(buf, "cpu MHz : %u.%u", &ma, &mb) == 2) {
uint64_t hz = ma * 1000000ULL + mb * 1000ULL;
if (hz > maxhz)
maxhz = hz;