summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/octeon/dev/cn30xxfpa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/cn30xxfpa.c b/sys/arch/octeon/dev/cn30xxfpa.c
index 8a9b9e76a3f..cb3b622563f 100644
--- a/sys/arch/octeon/dev/cn30xxfpa.c
+++ b/sys/arch/octeon/dev/cn30xxfpa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cn30xxfpa.c,v 1.4 2014/08/11 18:29:56 miod Exp $ */
+/* $OpenBSD: cn30xxfpa.c,v 1.5 2015/07/19 00:12:54 jasper Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -370,7 +370,7 @@ cn30xxfpa_dump_regs(void)
uint64_t tmp;
int i;
- for (i = 0; i < (int)nitems(cn30xxfpa_dump_regs_); i++) {
+ for (i = 0; i < nitems(cn30xxfpa_dump_regs_); i++) {
reg = &cn30xxfpa_dump_regs_[i];
tmp = bus_space_read_8(sc->sc_regt, sc->sc_regh, reg->offset);
printf("\t%-24s: %16llx\n", reg->name, tmp);