summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc/hwpmc_mod.c
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2013-01-12 18:30:52 +0000
committersbruno <sbruno@FreeBSD.org>2013-01-12 18:30:52 +0000
commitc3acd922ed43d64e4ae6f4201d42e542a466707a (patch)
treea5c531a430febfb0c09d3b291bb9830802ef1c11 /sys/dev/hwpmc/hwpmc_mod.c
parent960e9d02c6524420c6a138200264b33a52d5d7eb (diff)
downloadFreeBSD-src-c3acd922ed43d64e4ae6f4201d42e542a466707a.zip
FreeBSD-src-c3acd922ed43d64e4ae6f4201d42e542a466707a.tar.gz
Quiesce a couple of clang warnings
Submitted by: hiren panchasara <hiren.panchasara@gmail.com> Obtained from: Yahoo! Inc
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_mod.c')
-rw-r--r--sys/dev/hwpmc/hwpmc_mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hwpmc/hwpmc_mod.c b/sys/dev/hwpmc/hwpmc_mod.c
index 9e82a34..2f2f05a 100644
--- a/sys/dev/hwpmc/hwpmc_mod.c
+++ b/sys/dev/hwpmc/hwpmc_mod.c
@@ -3022,7 +3022,7 @@ pmc_syscall_handler(struct thread *td, void *syscall_args)
}
nevent = 0;
- for (ev = PMC_EV_SOFT_FIRST; ev <= PMC_EV_SOFT_LAST; ev++) {
+ for (ev = PMC_EV_SOFT_FIRST; (int)ev <= PMC_EV_SOFT_LAST; ev++) {
ps = pmc_soft_ev_acquire(ev);
if (ps == NULL)
continue;
OpenPOWER on IntegriCloud