summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2020-08-28 10:30:39 +0000
committerAndriy Gapon <avg@FreeBSD.org>2020-08-28 10:30:39 +0000
commit055610cd0ebfaf7dff0e386a8c19290e3154d9cb (patch)
treeb03c6b10d4aff51c1c5eb8bc474303c505c4414f /sys/dev
parent760f8faa0f923a3675622fb505819cb060776bf5 (diff)
downloadsrc-test2-055610cd0ebfaf7dff0e386a8c19290e3154d9cb.tar.gz
src-test2-055610cd0ebfaf7dff0e386a8c19290e3154d9cb.zip
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/iicbus/mux/iicmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iicbus/mux/iicmux.c b/sys/dev/iicbus/mux/iicmux.c
index a631f7642a55..f1454f440b0b 100644
--- a/sys/dev/iicbus/mux/iicmux.c
+++ b/sys/dev/iicbus/mux/iicmux.c
@@ -283,7 +283,7 @@ iicmux_attach_children(struct iicmux_softc *sc)
}
sc->childdevs[idx] = device_add_child(sc->dev, "iicbus", -1);
sc->childnodes[idx] = child;
- if (sc->maxbus < idx)
+ if (sc->maxbus < (int)idx)
sc->maxbus = idx;
}