FS-11189: [Build-System] Fix Windows build.

This commit is contained in:
Andrey Volk authored and Mike Jerris committed 2018-07-24 13:16:43 +00:00
1 parent 68e7817f92
commit 4f54cff36a
1 file changed
+1 -1
+1 -1
View File
@@ -1111,7 +1111,7 @@ static inline uint32_t switch_parse_cpu_string(const char *cpu)
max = atoi(has_max + 1);
}
divisor = atof(cpu);
divisor = (float)atof(cpu);
if (divisor <= 0) divisor = 1;