Commit 7eee0099 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

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
parent bbcfe0f4
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment