From: Eric Anholt Date: Mon, 7 Dec 2015 20:24:46 +0000 (-0800) Subject: vc4: Fix compiler warning from size_t change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1529f138fff59bdb857d5f7da0ee2537521d5044;p=mesa.git vc4: Fix compiler warning from size_t change. I missed this when bringing over the kernel changes. --- diff --git a/src/gallium/drivers/vc4/kernel/vc4_validate.c b/src/gallium/drivers/vc4/kernel/vc4_validate.c index a50e9c38261..8dbb46cea85 100644 --- a/src/gallium/drivers/vc4/kernel/vc4_validate.c +++ b/src/gallium/drivers/vc4/kernel/vc4_validate.c @@ -860,7 +860,7 @@ validate_gl_shader_rec(struct drm_device *dev, if (vbo->base.size < offset || vbo->base.size - offset < attr_size) { - DRM_ERROR("BO offset overflow (%d + %d > %d)\n", + DRM_ERROR("BO offset overflow (%d + %d > %zd)\n", offset, attr_size, vbo->base.size); return -EINVAL; }