sys/cam/scsi: unsigned some loop indexes.
Although usually small, values produced by nitems() are unsigned. One more case where unsgining the index may be useful.
This commit is contained in:
parent
4d8fd4b25e
commit
e8f92bd9a7
@ -1264,7 +1264,7 @@ cdgetpage(struct cd_mode_params *mode_params)
|
||||
static int
|
||||
cdgetpagesize(int page_num)
|
||||
{
|
||||
int i;
|
||||
u_int i;
|
||||
|
||||
for (i = 0; i < nitems(cd_page_size_table); i++) {
|
||||
if (cd_page_size_table[i].page == page_num)
|
||||
|
Loading…
x
Reference in New Issue
Block a user