gallium/target: Haiku softpipe
authorAlexander von Gluck IV <kallisti5@unixzen.com>
Tue, 9 Dec 2014 21:30:32 +0000 (21:30 +0000)
committerAlexander von Gluck IV <kallisti5@unixzen.com>
Wed, 10 Dec 2014 14:01:01 +0000 (14:01 +0000)
* Use print macro to fix warning on 64-bit systems

src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp

index 0ae9e5260a177068640136c132f76441af61d5c6..77cafd4b93540777e86669410147ec8b38043d75 100644 (file)
@@ -355,7 +355,7 @@ SoftwareRenderer::_AllocateBitmap()
                return;
        }
 
                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);
                fBitmap->Bounds().IntegerWidth(), fBitmap->Bounds().IntegerHeight());
 
        fContextObj->ResizeViewport(fWidth, fHeight);