Module Name: xsrc
Committed By: christos
Date: Thu Jan 31 20:40:42 UTC 2019
Modified Files:
xsrc/external/mit/xf86-video-ati/dist/src: radeon_video.c
Log Message:
shifting negative values is not portable.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
xsrc/external/mit/xf86-video-ati/dist/src/radeon_video.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xf86-video-ati/dist/src/radeon_video.c
diff -u xsrc/external/mit/xf86-video-ati/dist/src/radeon_video.c:1.2 xsrc/external/mit/xf86-video-ati/dist/src/radeon_video.c:1.3
--- xsrc/external/mit/xf86-video-ati/dist/src/radeon_video.c:1.2 Tue Aug 16 20:06:59 2016
+++ xsrc/external/mit/xf86-video-ati/dist/src/radeon_video.c Thu Jan 31 15:40:41 2019
@@ -2681,7 +2681,7 @@ RADEONDisplayVideo(
* prevent the buffer offsets from exceeding the hardware limit of 128 MB.
* The base address must be aligned to a multiple of 4 MB.
*/
- base_offset = ((info->fbLocation + base_offset) & (~0 << 22)) -
+ base_offset = ((info->fbLocation + base_offset) & (~0U << 22)) -
info->fbLocation;
offset1 -= base_offset;