]> git.pld-linux.org Git - packages/xorg-driver-video-r128.git/blob - types.patch
- fix types definitions
[packages/xorg-driver-video-r128.git] / types.patch
1 --- xf86-video-r128-6.10.2/src/atipcirename.h.orig      2013-02-07 16:53:52.000000000 +0900
2 +++ xf86-video-r128-6.10.2/src/atipcirename.h   2018-05-23 21:49:20.300159461 +0900
3 @@ -35,6 +35,7 @@
4  };
5  
6  #include "xf86Module.h"
7 +#include <sys/types.h>
8  
9  #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 12
10  
11 @@ -49,10 +50,10 @@
12  #endif
13  #define PCI_DOMBUS_MASK (((PCI_DOM_MASK) << 8) | 0x0ffu)
14  
15 -static inline uint32_t
16 +static inline u_int32_t
17  pciTag(int busnum, int devnum, int funcnum)
18  {
19 -       uint32_t tag;
20 +       u_int32_t tag;
21         tag  = (busnum & (PCI_DOMBUS_MASK)) << 16;
22         tag |= (devnum & 0x00001fu) << 11;
23         tag |= (funcnum & 0x000007u) << 8;
This page took 0.042662 seconds and 3 git commands to generate.