summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-10-30 23:09:08 +0000
committeradrian <adrian@FreeBSD.org>2015-10-30 23:09:08 +0000
commit1c25d2a7594ac721b82a0ed598f11ebd01b8adf9 (patch)
tree3e9833ef52a0bf2f935838468fdb9038823afafa /sys/mips/atheros
parent305a5a647d16e46035cba97d64d0178f428060d3 (diff)
downloadFreeBSD-src-1c25d2a7594ac721b82a0ed598f11ebd01b8adf9.zip
FreeBSD-src-1c25d2a7594ac721b82a0ed598f11ebd01b8adf9.tar.gz
arge: just use 1U since it's a 32 bit unsigned destination value.
Diffstat (limited to 'sys/mips/atheros')
-rw-r--r--sys/mips/atheros/if_arge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/atheros/if_arge.c b/sys/mips/atheros/if_arge.c
index 00b9241..654f68a 100644
--- a/sys/mips/atheros/if_arge.c
+++ b/sys/mips/atheros/if_arge.c
@@ -2492,7 +2492,7 @@ arge_intr(void *arg)
#ifdef ARGE_DEBUG
for (i = 0; i < 32; i++) {
- if (status & (1 << i)) {
+ if (status & (1U << i)) {
sc->intr_stats.count[i]++;
}
}
OpenPOWER on IntegriCloud