Module Name: src
Committed By: lukem
Date: Wed Apr 15 05:41:09 UTC 2009
Modified Files:
src/usr.sbin/diskpart: diskpart.c
Log Message:
Fix -Wsign-compare issue
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/diskpart/diskpart.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/diskpart/diskpart.c
diff -u src/usr.sbin/diskpart/diskpart.c:1.17 src/usr.sbin/diskpart/diskpart.c:1.18
--- src/usr.sbin/diskpart/diskpart.c:1.17 Mon Jul 21 13:36:58 2008
+++ src/usr.sbin/diskpart/diskpart.c Wed Apr 15 05:41:09 2009
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "from: @(#)diskpart.c 8.3 (Berkeley) 11/30/94";
#else
-__RCSID("$NetBSD: diskpart.c,v 1.17 2008/07/21 13:36:58 lukem Exp $");
+__RCSID("$NetBSD: diskpart.c,v 1.18 2009/04/15 05:41:09 lukem Exp $");
#endif
#endif /* not lint */
@@ -123,9 +123,9 @@
int argc;
char *argv[];
{
-
struct disklabel *dp;
- int curcyl, spc, def, part, layout, j, ch;
+ int spc, def, part, layout, j, ch;
+ uint32_t curcyl;
int threshhold, numcyls[NPARTITIONS], startcyl[NPARTITIONS];
off_t totsize = 0;
const char *tyname;