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:
Jon TURNEY 2015-05-01 17:33:35 +01:00
parent 27cf584027
commit 8cc88fbe9e

View File

@ -1691,7 +1691,7 @@ DRISwapContext(int drmFD, void *oldctx, void *newctx)
if (!newContext) {
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);
return;
}