vc4: Fix compiler warning from size_t change.
authorEric Anholt <eric@anholt.net>
Mon, 7 Dec 2015 20:24:46 +0000 (12:24 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 8 Dec 2015 17:49:50 +0000 (09:49 -0800)
I missed this when bringing over the kernel changes.

src/gallium/drivers/vc4/kernel/vc4_validate.c

index a50e9c382616654b17de9be45c7a922c5ac81d4c..8dbb46cea859cb13a7e3ba9cb4bbfac491e885e8 100644 (file)
@@ -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;
                }