diff options
author | Marico Xu <marico.xu@arm.com> | 2015-05-06 15:54:57 +0800 |
---|---|---|
committer | Marico Xu <marico.xu@arm.com> | 2015-05-11 13:39:32 +0800 |
commit | 8ca8513880697f9a34d4006c43342b830bdd1ff2 (patch) | |
tree | 77af9a652d0372b2f99961e994faec24d1b448bc | |
parent | 03cfb069e404e61feca7959f6e07033b60daa324 (diff) |
Fix the 64 bit build error1.3.0
"%p" should be used to indicate the point value instead of "%x"
Change-Id: Id7cd867193805381412835f9b6ac48564fa6b1a9
-rwxr-xr-x | src/armsoc_dri2.c | 4 |
1 files 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 */ } |