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 el...



details:   https://anonhg.NetBSD.org/xsrc/rev/3403ccbf39d6
branches:  trunk
changeset: 10739:3403ccbf39d6
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 04 07:03:16 2021 +0000

description:
elide cast warning: error: cast from pointer to integer of different size

diffstat:

 external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8f9a97f03777 -r 3403ccbf39d6 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       Sat Jul 03 09:43:29 2021 +0000
+++ b/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c       Sun Jul 04 07:03:16 2021 +0000
@@ -61,7 +61,7 @@
 
 /* XXX why the hell is this necessary?! */
 #if defined(__arm__) || defined(__mips__)
-unsigned PORT_SIZE IOPortBase = (unsigned PORT_SIZE)MAP_FAILED;
+unsigned PORT_SIZE IOPortBase = (unsigned PORT_SIZE)(intptr_t)MAP_FAILED;
 #endif
 
 Bool



Home | Main Index | Thread Index | Old Index