Merge pull request #1539 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11189-windows-build-regression to master
* commit '5c4211e43d69191e9d83a19fb9f47e6b90c5d804': FS-11189: [Build-System] Windows build regression fix.
This commit is contained in:
commit
78aec0fe81
|
@ -1115,7 +1115,7 @@ static inline uint32_t switch_parse_cpu_string(const char *cpu)
|
||||||
|
|
||||||
if (divisor <= 0) divisor = 1;
|
if (divisor <= 0) divisor = 1;
|
||||||
|
|
||||||
ncpu = cpu_count / divisor;
|
ncpu = (int)(cpu_count / divisor);
|
||||||
|
|
||||||
if (ncpu <= 0) return 1;
|
if (ncpu <= 0) return 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue