xf86-video-intel: src/i830_uxa.c
Eric Anholt
anholt at kemper.freedesktop.org
Thu Jul 9 14:17:14 PDT 2009
src/i830_uxa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9155cfca75a207bce0fad945f32f0cb33eab8c4e
Author: Eric Anholt <eric at anholt.net>
Date: Thu Jul 9 14:16:07 2009 -0700
Fix lols in trying to figure out whether this is a 64-bit build.
Noticed by: Michel Dänzer <michel at daenzer.net>
diff --git a/src/i830_uxa.c b/src/i830_uxa.c
index ef7ac84..f423805 100644
--- a/src/i830_uxa.c
+++ b/src/i830_uxa.c
@@ -638,7 +638,7 @@ i830_uxa_create_pixmap (ScreenPtr screen, int w, int h, int depth, unsigned usag
* Note that size should fit in 32 bits. We throw out >32767x32767x4,
* and pitch alignment could get us up to 32768x32767x4.
*/
- if (sizeof(unsigned int) == 4 &&
+ if (sizeof(unsigned long) == 4 &&
size > (unsigned int)(1024 * 1024 * 1024))
{
fbDestroyPixmap (pixmap);
More information about the xorg-commit
mailing list