diff --git a/sys/dev/iicbus/max6690.c b/sys/dev/iicbus/max6690.c index f6e2bd6686b..5742e179f13 100644 --- a/sys/dev/iicbus/max6690.c +++ b/sys/dev/iicbus/max6690.c @@ -362,7 +362,7 @@ max6690_sensor_sysctl(SYSCTL_HANDLER_ARGS) struct max6690_softc *sc; struct max6690_sensor *sens; int error; - unsigned int temp; + int temp; dev = arg1; sc = device_get_softc(dev); diff --git a/sys/geom/cache/g_cache.c b/sys/geom/cache/g_cache.c index ba701acff18..28df84182f6 100644 --- a/sys/geom/cache/g_cache.c +++ b/sys/geom/cache/g_cache.c @@ -67,7 +67,7 @@ static u_int g_cache_used_hi = 20; static int sysctl_handle_pct(SYSCTL_HANDLER_ARGS) { - u_int val = *(u_int *)arg1; + int val; int error; error = sysctl_handle_int(oidp, &val, 0, req); diff --git a/sys/geom/journal/g_journal.c b/sys/geom/journal/g_journal.c index 39084786481..da49593e2dc 100644 --- a/sys/geom/journal/g_journal.c +++ b/sys/geom/journal/g_journal.c @@ -168,7 +168,7 @@ SYSCTL_UINT(_kern_geom_journal_cache, OID_AUTO, divisor, CTLFLAG_RDTUN, static int g_journal_cache_switch_sysctl(SYSCTL_HANDLER_ARGS) { - u_int cswitch; + int cswitch; int error; cswitch = g_journal_cache_switch;