Line 0
Link Here
|
|
|
1 |
# Correct type in format strings |
2 |
# |
3 |
--- src/r128_dri.c.orig 2017-01-17 22:42:44 UTC |
4 |
+++ src/r128_dri.c |
5 |
@@ -500,7 +500,7 @@ static Bool R128DRIAgpInit(R128InfoPtr i |
6 |
return FALSE; |
7 |
} |
8 |
xf86DrvMsg(pScreen->myNum, X_INFO, |
9 |
- "[agp] %d kB allocated with handle 0x%08x\n", |
10 |
+ "[agp] %d kB allocated with handle 0x%08lx\n", |
11 |
info->agpSize*1024, info->agpMemHandle); |
12 |
|
13 |
if (drmAgpBind(info->drmFD, info->agpMemHandle, info->agpOffset) < 0) { |
14 |
@@ -540,7 +540,7 @@ static Bool R128DRIAgpInit(R128InfoPtr i |
15 |
return FALSE; |
16 |
} |
17 |
xf86DrvMsg(pScreen->myNum, X_INFO, |
18 |
- "[agp] ring handle = 0x%08x\n", info->ringHandle); |
19 |
+ "[agp] ring handle = 0x%08lx\n", info->ringHandle); |
20 |
|
21 |
if (drmMap(info->drmFD, info->ringHandle, info->ringMapSize, |
22 |
&info->ring) < 0) { |
23 |
@@ -558,7 +558,7 @@ static Bool R128DRIAgpInit(R128InfoPtr i |
24 |
return FALSE; |
25 |
} |
26 |
xf86DrvMsg(pScreen->myNum, X_INFO, |
27 |
- "[agp] ring read ptr handle = 0x%08x\n", |
28 |
+ "[agp] ring read ptr handle = 0x%08lx\n", |
29 |
info->ringReadPtrHandle); |
30 |
|
31 |
if (drmMap(info->drmFD, info->ringReadPtrHandle, info->ringReadMapSize, |
32 |
@@ -578,7 +578,7 @@ static Bool R128DRIAgpInit(R128InfoPtr i |
33 |
return FALSE; |
34 |
} |
35 |
xf86DrvMsg(pScreen->myNum, X_INFO, |
36 |
- "[agp] vertex/indirect buffers handle = 0x%08x\n", |
37 |
+ "[agp] vertex/indirect buffers handle = 0x%08lx\n", |
38 |
info->bufHandle); |
39 |
|
40 |
if (drmMap(info->drmFD, info->bufHandle, info->bufMapSize, |
41 |
@@ -598,7 +598,7 @@ static Bool R128DRIAgpInit(R128InfoPtr i |
42 |
return FALSE; |
43 |
} |
44 |
xf86DrvMsg(pScreen->myNum, X_INFO, |
45 |
- "[agp] AGP texture map handle = 0x%08x\n", |
46 |
+ "[agp] AGP texture map handle = 0x%08lx\n", |
47 |
info->agpTexHandle); |
48 |
|
49 |
if (drmMap(info->drmFD, info->agpTexHandle, info->agpTexMapSize, |
50 |
@@ -660,7 +660,7 @@ static Bool R128DRIPciInit(R128InfoPtr i |
51 |
return FALSE; |
52 |
} |
53 |
xf86DrvMsg(pScreen->myNum, X_INFO, |
54 |
- "[pci] %d kB allocated with handle 0x%08x\n", |
55 |
+ "[pci] %d kB allocated with handle 0x%08lx\n", |
56 |
info->agpSize*1024, info->pciMemHandle); |
57 |
|
58 |
/* Initialize the CCE ring buffer data */ |
59 |
@@ -684,7 +684,7 @@ static Bool R128DRIPciInit(R128InfoPtr i |
60 |
return FALSE; |
61 |
} |
62 |
xf86DrvMsg(pScreen->myNum, X_INFO, |
63 |
- "[pci] ring handle = 0x%08x\n", info->ringHandle); |
64 |
+ "[pci] ring handle = 0x%08lx\n", info->ringHandle); |
65 |
|
66 |
if (drmMap(info->drmFD, info->ringHandle, info->ringMapSize, |
67 |
&info->ring) < 0) { |
68 |
@@ -705,7 +705,7 @@ static Bool R128DRIPciInit(R128InfoPtr i |
69 |
return FALSE; |
70 |
} |
71 |
xf86DrvMsg(pScreen->myNum, X_INFO, |
72 |
- "[pci] ring read ptr handle = 0x%08x\n", |
73 |
+ "[pci] ring read ptr handle = 0x%08lx\n", |
74 |
info->ringReadPtrHandle); |
75 |
|
76 |
if (drmMap(info->drmFD, info->ringReadPtrHandle, info->ringReadMapSize, |
77 |
@@ -728,7 +728,7 @@ static Bool R128DRIPciInit(R128InfoPtr i |
78 |
return FALSE; |
79 |
} |
80 |
xf86DrvMsg(pScreen->myNum, X_INFO, |
81 |
- "[pci] vertex/indirect buffers handle = 0x%08x\n", |
82 |
+ "[pci] vertex/indirect buffers handle = 0x%08lx\n", |
83 |
info->bufHandle); |
84 |
|
85 |
if (drmMap(info->drmFD, info->bufHandle, info->bufMapSize, |
86 |
@@ -829,7 +829,7 @@ static Bool R128DRIMapInit(R128InfoPtr i |
87 |
return FALSE; |
88 |
} |
89 |
xf86DrvMsg(pScreen->myNum, X_INFO, |
90 |
- "[drm] register handle = 0x%08x\n", info->registerHandle); |
91 |
+ "[drm] register handle = 0x%08lx\n", info->registerHandle); |
92 |
|
93 |
return TRUE; |
94 |
} |