Make more unsigned ints signed.
Found by: clang (powerpc64) MFC after: 1 week
This commit is contained in:
parent
1c05219285
commit
e17bec9172
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user