1
1

Use () to avoid a signed/unsigned comparsion compiler warning

This commit was SVN r12424.
Этот коммит содержится в:
Jeff Squyres 2006-11-03 17:26:11 +00:00
родитель 761c8beeb7
Коммит 3e2d375543

Просмотреть файл

@ -122,7 +122,7 @@ static int make_mask(unsigned int *len, unsigned long **mask)
linux_module_get_num_procs(&num_procs); linux_module_get_num_procs(&num_procs);
*len = num_procs / 8; *len = num_procs / 8;
if (*len != (unsigned int)num_procs * 8) { if (*len != (unsigned int)(num_procs * 8)) {
++*len; ++*len;
} }