From 1529f138fff59bdb857d5f7da0ee2537521d5044 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 7 Dec 2015 12:24:46 -0800 Subject: [PATCH] vc4: Fix compiler warning from size_t change. I missed this when bringing over the kernel changes. --- src/gallium/drivers/vc4/kernel/vc4_validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2