diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2014-01-15 05:52:06 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2014-01-15 05:52:06 +0000 |
commit | 876be05179ee42f81786351cda007d01cc994a03 (patch) | |
tree | b552732188b5f7bf2ea1bb5c0e89edc63b442312 | |
parent | 18daeaf6467afc9b4d4ec8fc0ad17a67cb53398b (diff) | |
download | FreeBSD-src-876be05179ee42f81786351cda007d01cc994a03.zip FreeBSD-src-876be05179ee42f81786351cda007d01cc994a03.tar.gz |
MFC r259082
Make some unsigned ints signed.
Found by: clang (powerpc64)
-rw-r--r-- | sys/dev/iicbus/ds1631.c | 2 | ||||
-rw-r--r-- | sys/dev/iicbus/ds1775.c | 2 | ||||
-rw-r--r-- | sys/powerpc/powermac/platform_powermac.c | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/iicbus/ds1631.c b/sys/dev/iicbus/ds1631.c index 51531ef..22c8ecc 100644 --- a/sys/dev/iicbus/ds1631.c +++ b/sys/dev/iicbus/ds1631.c @@ -398,7 +398,7 @@ ds1631_sensor_sysctl(SYSCTL_HANDLER_ARGS) device_t dev; struct ds1631_softc *sc; int error; - unsigned int temp; + int temp; dev = arg1; sc = device_get_softc(dev); diff --git a/sys/dev/iicbus/ds1775.c b/sys/dev/iicbus/ds1775.c index 0b1a4cb..884ac4c 100644 --- a/sys/dev/iicbus/ds1775.c +++ b/sys/dev/iicbus/ds1775.c @@ -257,7 +257,7 @@ ds1775_sensor_sysctl(SYSCTL_HANDLER_ARGS) device_t dev; struct ds1775_softc *sc; int error; - unsigned int temp; + int temp; dev = arg1; sc = device_get_softc(dev); diff --git a/sys/powerpc/powermac/platform_powermac.c b/sys/powerpc/powermac/platform_powermac.c index 1954ae9..cddc883 100644 --- a/sys/powerpc/powermac/platform_powermac.c +++ b/sys/powerpc/powermac/platform_powermac.c @@ -169,7 +169,8 @@ powermac_timebase_freq(platform_t plat, struct cpuref *cpuref) static int powermac_smp_fill_cpuref(struct cpuref *cpuref, phandle_t cpu) { - cell_t cpuid, res; + cell_t cpuid; + int res; cpuref->cr_hwref = cpu; res = OF_getprop(cpu, "reg", &cpuid, sizeof(cpuid)); |