mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-18 23:38:39 +00:00
FS-11189: [Build-System] Fix Windows build.
This commit is contained in:
1 parent
bec920c990
commit
2323421b5a
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user