diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2006-09-05 15:23:54 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2006-09-05 15:23:54 -0700 |
commit | 410e5b1d738ba47b36778e6cbed44023a27ce259 (patch) | |
tree | 8f1dcaed3c3d758af5836478df01ecf437050ec7 | |
parent | c2813514cf7b1a36caa848cbc2ceef99cf2eb769 (diff) |
(unsigned long)(1 << 31) = bad news on x86_64.
-rw-r--r-- | fb/fbimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fb/fbimage.c b/fb/fbimage.c index bf5c06b57..3b4a07c3d 100644 --- a/fb/fbimage.c +++ b/fb/fbimage.c @@ -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) { |