Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd us...
details: https://anonhg.NetBSD.org/xsrc/rev/92d38ebcdac5
branches: trunk
changeset: 10737:92d38ebcdac5
user: christos <christos%NetBSD.org@localhost>
date: Fri Jul 02 19:31:47 2021 +0000
description:
use PORT_SIZE from compiler.h instead of int.
diffstat:
external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 952732e6fee9 -r 92d38ebcdac5 external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c
--- a/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c Wed Jun 09 07:25:57 2021 +0000
+++ b/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c Fri Jul 02 19:31:47 2021 +0000
@@ -60,7 +60,7 @@
/* XXX why the hell is this necessary?! */
#if defined(__arm__) || defined(__mips__)
-unsigned int IOPortBase = (int)MAP_FAILED;
+unsigned PORT_SIZE IOPortBase = (unsigned PORT_SIZE)MAP_FAILED;
#endif
Bool
@@ -95,7 +95,7 @@
munmap(__UNVOLATILE(ioBase), 0x10000);
ioBase = MAP_FAILED;
#ifdef __arm__
- IOPortBase = (unsigned int)MAP_FAILED;
+ IOPortBase = (unsigned PORT_SIZE)MAP_FAILED;
#endif
}
#endif
Home |
Main Index |
Thread Index |
Old Index