Fix another couple of signed v unsigned comparisons of disk block numbers.
This commit is contained in:
parent
321813557d
commit
7dd4a9773c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: md.c,v 1.22 2009/09/19 14:57:29 abs Exp $ */
|
||||
/* $NetBSD: md.c,v 1.23 2010/01/02 20:54:46 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
|
@ -135,7 +135,8 @@ int
|
|||
md_check_partitions(void)
|
||||
{
|
||||
/* mvme68k partitions must be in order of the range. */
|
||||
int part, start = 0, last = PART_A-1;
|
||||
int part, last = PART_A-1;
|
||||
uint32_t start = 0;
|
||||
|
||||
for (part = PART_A; part < 8; part++) {
|
||||
if (part == PART_C)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: md.c,v 1.37 2009/09/19 14:57:30 abs Exp $ */
|
||||
/* $NetBSD: md.c,v 1.38 2010/01/02 20:54:46 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
|
@ -163,7 +163,8 @@ int
|
|||
md_check_partitions(void)
|
||||
{
|
||||
/* X68k partitions must be in order of the range. */
|
||||
int part, start = 0, last = PART_A-1;
|
||||
int part, last = PART_A-1;
|
||||
uint32_t start = 0;
|
||||
|
||||
for (part = PART_A; part < 8; part++) {
|
||||
if (part == PART_C)
|
||||
|
|
Loading…
Reference in New Issue