FS-11189: [Build-System] Windows build regression fix.
This commit is contained in:
parent
ea40876efd
commit
5c4211e43d
|
@ -1115,7 +1115,7 @@ static inline uint32_t switch_parse_cpu_string(const char *cpu)
|
|||
|
||||
if (divisor <= 0) divisor = 1;
|
||||
|
||||
ncpu = cpu_count / divisor;
|
||||
ncpu = (int)(cpu_count / divisor);
|
||||
|
||||
if (ncpu <= 0) return 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue