diff options
author | Alexander von Gluck IV <[email protected]> | 2014-08-21 20:00:59 +0000 |
---|---|---|
committer | Alexander von Gluck IV <[email protected]> | 2014-08-22 19:37:19 -0400 |
commit | 12a679a6f61259d833b0d9098b9f6e2607611cc6 (patch) | |
tree | 3226cd3020f19fbf831db3d01e628732412ebfdc | |
parent | 31406d978da38fa0e65c5e1553abbd9654ba131d (diff) |
gallium/targets: Haiku, Fix some improper type warnings
-rw-r--r-- | src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp | 2 | ||||
-rw-r--r-- | src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp b/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp index f367d9d12d8..84c8bd2baef 100644 --- a/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp +++ b/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp @@ -93,7 +93,7 @@ hgl_framebuffer_validate(struct st_context_iface* stctx, if (context->stVisual && context->manager && context->manager->screen) { TRACE("%s: Updating resources\n", __func__); - int i; + unsigned i; for (i = 0; i < count; i++) { enum pipe_format format = PIPE_FORMAT_NONE; unsigned bind = 0; diff --git a/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp b/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp index 9d85b8d03e2..0ae9e5260a1 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: %d x %d\n", __func__, + TRACE("%s: New bitmap size: %ld x %ld\n", __func__, fBitmap->Bounds().IntegerWidth(), fBitmap->Bounds().IntegerHeight()); fContextObj->ResizeViewport(fWidth, fHeight); |