debug output format fix in DRISwapContext()
xorg/xserver/hw/xfree86/dri/dri.c:1695:19: error: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DRIContextPrivPtr’ [-Werror=format=] ^ xorg/xserver/hw/xfree86/dri/dri.c:1695:19: error: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘DRIContextPrivPtr’ [-Werror=format=] Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
27cf584027
commit
8cc88fbe9e
|
@ -1691,7 +1691,7 @@ DRISwapContext(int drmFD, void *oldctx, void *newctx)
|
||||||
|
|
||||||
if (!newContext) {
|
if (!newContext) {
|
||||||
DRIDrvMsg(pScreen->myNum, X_ERROR,
|
DRIDrvMsg(pScreen->myNum, X_ERROR,
|
||||||
"[DRI] Context Switch Error: oldContext=%x, newContext=%x\n",
|
"[DRI] Context Switch Error: oldContext=%p, newContext=%p\n",
|
||||||
oldContext, newContext);
|
oldContext, newContext);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue