fix FTBS on missing typedef ulong

> ../../src/xgi_accel.c: In function 'XGIPrepareSolid':
> ../../src/xgi_accel.h:382:27: error: 'ulong' undeclared (first use in this function); did you mean 'ULong'?
>   382 |     pXGI->CommandReg |= ((ulong)(bpp))&(GENMASK(17:16)) ;
>       |                           ^~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-xgi/-/merge_requests/8>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-06-06 13:03:24 +02:00
committed by Marge Bot
parent 75ea1ea883
commit e73ff14a7f

View File

@@ -103,9 +103,6 @@
#define BandSize 0x10
/* Jong 09/27/2007; recover for compiler error */
/* typedef unsigned long ulong ; */
extern unsigned long r_port, w_port ;
extern int G2CmdQueLen;
@@ -379,7 +376,7 @@ void XGIDumpCMDQueue(ScrnInfoPtr pScrn);
}
#define Volari_SetupDSTColorDepth(bpp) \
pXGI->CommandReg |= ((ulong)(bpp))&(GENMASK(17:16)) ;
pXGI->CommandReg |= ((ULong)(bpp))&(GENMASK(17:16)) ;
#define Volari_SetupRect(w,h) \
{\