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:
pfg 2016-05-06 15:36:25 +00:00
parent 4d8fd4b25e
commit e8f92bd9a7

View File

@ -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)