Use () to avoid a signed/unsigned comparsion compiler warning
This commit was SVN r12424.
Этот коммит содержится в:
родитель
761c8beeb7
Коммит
3e2d375543
@ -122,7 +122,7 @@ static int make_mask(unsigned int *len, unsigned long **mask)
|
||||
|
||||
linux_module_get_num_procs(&num_procs);
|
||||
*len = num_procs / 8;
|
||||
if (*len != (unsigned int)num_procs * 8) {
|
||||
if (*len != (unsigned int)(num_procs * 8)) {
|
||||
++*len;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user