twsi: Fix build when DEBUG is used on 32bits arch.

MFC after:	3 days
This commit is contained in:
Emmanuel Vadot 2019-08-15 18:59:52 +00:00
parent e53a11bef5
commit 017455f13c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351100

View File

@ -261,7 +261,7 @@ twsi_calc_baud_rate(struct twsi_softc *sc, const u_int target,
if (clk_get_freq(sc->clk_core, &clk) < 0)
return (-1);
debugf(sc->dev, "Bus clock is at %lu\n", clk);
debugf(sc->dev, "Bus clock is at %ju\n", clk);
for (n = 0; n < 8; n++) {
for (m = 0; m < 16; m++) {