mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix some integer signs. These unsigned integers should all be signed.
Found by: clang (powerpc64)
This commit is contained in:
parent
1d75f17448
commit
8991c54091
3 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
2
sys/geom/cache/g_cache.c
vendored
2
sys/geom/cache/g_cache.c
vendored
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue