mirror of
https://github.com/X11Libre/xf86-video-xgi.git
synced 2026-03-24 01:24:35 +00:00
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:
committed by
Marge Bot
parent
75ea1ea883
commit
e73ff14a7f
@@ -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) \
|
||||
{\
|
||||
|
||||
Reference in New Issue
Block a user