mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
(unsigned long)(1 << 31) = bad news on x86_64.
This commit is contained in:
@@ -68,7 +68,7 @@ fbPutImage (DrawablePtr pDrawable,
|
||||
break;
|
||||
case XYPixmap:
|
||||
srcStride = BitmapBytePad(w + leftPad) / sizeof (FbStip);
|
||||
for (i = 1 << (pDrawable->depth - 1); i; i >>= 1)
|
||||
for (i = (unsigned long)1 << (pDrawable->depth - 1); i; i >>= 1)
|
||||
{
|
||||
if (i & pGC->planemask)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user