Date: Wed, 15 Jan 2014 05:52:06 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r260673 - in stable/10/sys: dev/iicbus powerpc/powermac Message-ID: <201401150552.s0F5q64j072546@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Wed Jan 15 05:52:06 2014 New Revision: 260673 URL: http://svnweb.freebsd.org/changeset/base/260673 Log: MFC r259082 Make some unsigned ints signed. Found by: clang (powerpc64) Modified: stable/10/sys/dev/iicbus/ds1631.c stable/10/sys/dev/iicbus/ds1775.c stable/10/sys/powerpc/powermac/platform_powermac.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/iicbus/ds1631.c ============================================================================== --- stable/10/sys/dev/iicbus/ds1631.c Wed Jan 15 05:41:28 2014 (r260672) +++ stable/10/sys/dev/iicbus/ds1631.c Wed Jan 15 05:52:06 2014 (r260673) @@ -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); Modified: stable/10/sys/dev/iicbus/ds1775.c ============================================================================== --- stable/10/sys/dev/iicbus/ds1775.c Wed Jan 15 05:41:28 2014 (r260672) +++ stable/10/sys/dev/iicbus/ds1775.c Wed Jan 15 05:52:06 2014 (r260673) @@ -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); Modified: stable/10/sys/powerpc/powermac/platform_powermac.c ============================================================================== --- stable/10/sys/powerpc/powermac/platform_powermac.c Wed Jan 15 05:41:28 2014 (r260672) +++ stable/10/sys/powerpc/powermac/platform_powermac.c Wed Jan 15 05:52:06 2014 (r260673) @@ -169,7 +169,8 @@ powermac_timebase_freq(platform_t plat, 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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401150552.s0F5q64j072546>