Make more unsigned ints signed.

Found by:	clang (powerpc64)
MFC after:	1 week
This commit is contained in:
Justin Hibbits 2013-12-07 22:25:07 +00:00
parent 1c05219285
commit e17bec9172
3 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -219,7 +219,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));