compiler warning

This commit is contained in:
David Rose 2007-08-28 18:26:13 +00:00
parent 3b694047c9
commit f93dafdba1
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ set_cpu_affinity(PN_uint32 mask) const {
// make sure we don't reference CPUs that don't exist
proc_mask = mask & sys_mask;
if (proc_mask) {
return sp(GetCurrentProcess(), proc_mask);
return sp(GetCurrentProcess(), proc_mask) != 0;
}
}
}