Merge pull request #1538 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11189-add-video-settings to master

* commit '2323421b5ad25563be7b56adeabf65543f7de2d5':
  FS-11189: [Build-System] Fix Windows build.
This commit is contained in:
Mike Jerris 2018-07-24 13:13:16 +00:00
commit ea40876efd
1 changed files with 1 additions and 1 deletions

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;