summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2014-01-15 05:52:06 +0000
committerjhibbits <jhibbits@FreeBSD.org>2014-01-15 05:52:06 +0000
commit876be05179ee42f81786351cda007d01cc994a03 (patch)
treeb552732188b5f7bf2ea1bb5c0e89edc63b442312 /sys/powerpc/powermac
parent18daeaf6467afc9b4d4ec8fc0ad17a67cb53398b (diff)
downloadFreeBSD-src-876be05179ee42f81786351cda007d01cc994a03.zip
FreeBSD-src-876be05179ee42f81786351cda007d01cc994a03.tar.gz
MFC r259082
Make some unsigned ints signed. Found by: clang (powerpc64)
Diffstat (limited to 'sys/powerpc/powermac')
-rw-r--r--sys/powerpc/powermac/platform_powermac.c3
1 files changed, 2 insertions, 1 deletions
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));
OpenPOWER on IntegriCloud