[Mesa-dev] [PATCH 1/2] gallium/target: Haiku softpipe

Alexander von Gluck IV kallisti5 at unixzen.com
Tue Dec 9 13:55:00 PST 2014


* Use print macro to fix warning on 64-bit systems
---
 src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp b/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp
index 0ae9e52..77cafd4 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);
-- 
1.8.3.4



More information about the mesa-dev mailing list