From 8ca8513880697f9a34d4006c43342b830bdd1ff2 Mon Sep 17 00:00:00 2001 From: Marico Xu Date: Wed, 6 May 2015 15:54:57 +0800 Subject: Fix the 64 bit build error "%p" should be used to indicate the point value instead of "%x" Change-Id: Id7cd867193805381412835f9b6ac48564fa6b1a9 --- src/armsoc_dri2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/armsoc_dri2.c b/src/armsoc_dri2.c index 0acca4c..43b83c7 100755 --- a/src/armsoc_dri2.c +++ b/src/armsoc_dri2.c @@ -247,8 +247,8 @@ static Bool create_buffer(DrawablePtr pDraw, struct ARMSOCDRI2BufferRec *buf) #if DRI2INFOREC_VERSION >= 6 else if (FALSE == DRI2SwapLimit(pDraw, pARMSOC->swap_chain_size)) { WARNING_MSG( - "Failed to set DRI2SwapLimit(%x,%d)", - (unsigned int)pDraw, pARMSOC->swap_chain_size); + "Failed to set DRI2SwapLimit(%p,%d)", + pDraw, pARMSOC->swap_chain_size); } #endif /* DRI2INFOREC_VERSION >= 6 */ } -- cgit v1.2.3