Fix lols in trying to figure out whether this is a 64-bit build.

Noticed by:	Michel Dänzer <michel@daenzer.net>
This commit is contained in:
Eric Anholt 2009-07-09 14:16:07 -07:00
parent 40e7c95052
commit 9155cfca75
1 changed files with 1 additions and 1 deletions

View File

@ -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);