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.tur...@dronecode.org.uk>
---
 hw/xfree86/dri/dri.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c
index ae92fc2..875c9cc 100644
--- a/hw/xfree86/dri/dri.c
+++ b/hw/xfree86/dri/dri.c
@@ -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;
     }
-- 
2.4.5

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to