From: Alexander von Gluck IV Date: Tue, 9 Dec 2014 21:30:32 +0000 (+0000) Subject: gallium/target: Haiku softpipe X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03e237e9f2edb99120fb4bdab2c7bfd211848dc0;p=mesa.git gallium/target: Haiku softpipe * Use print macro to fix warning on 64-bit systems --- diff --git a/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp b/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp index 0ae9e5260a1..77cafd4b935 100644 --- a/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp +++ b/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp @@ -355,7 +355,7 @@ SoftwareRenderer::_AllocateBitmap() return; } - TRACE("%s: New bitmap size: %ld x %ld\n", __func__, + TRACE("%s: New bitmap size: %" B_PRId32 " x %" B_PRId32 "\n", __func__, fBitmap->Bounds().IntegerWidth(), fBitmap->Bounds().IntegerHeight()); fContextObj->ResizeViewport(fWidth, fHeight);