From af17a5d8f306181a2bf2aacd4b1e8fc030bc6d7b Mon Sep 17 00:00:00 2001 From: lukem Date: Sun, 18 Jan 2009 07:05:53 +0000 Subject: [PATCH] fix -Wsign-compare issues --- usr.bin/pmc/pmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/pmc/pmc.c b/usr.bin/pmc/pmc.c index 719605b36fa8..674f02b60c12 100644 --- a/usr.bin/pmc/pmc.c +++ b/usr.bin/pmc/pmc.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmc.c,v 1.16 2007/12/15 19:44:52 perry Exp $ */ +/* $NetBSD: pmc.c,v 1.17 2009/01/18 07:05:53 lukem Exp $ */ /* * Copyright 2000 Wasabi Systems, Inc. @@ -37,7 +37,7 @@ #include #ifndef lint -__RCSID("$NetBSD: pmc.c,v 1.16 2007/12/15 19:44:52 perry Exp $"); +__RCSID("$NetBSD: pmc.c,v 1.17 2009/01/18 07:05:53 lukem Exp $"); #endif #include @@ -325,7 +325,7 @@ static struct pmc_name2val_cpus { static const struct pmc_name2val_cpus * pmc_lookup_cpu(int type) { - int i; + size_t i; for (i = 0; i < sizeof(pmc_cpus)/sizeof(struct pmc_name2val_cpus); i++) {