vc4: Fix compiler warning from size_t change.

I missed this when bringing over the kernel changes.
This commit is contained in:
Eric Anholt 2015-12-07 12:24:46 -08:00
parent a5256012ef
commit 1529f138ff

View 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;
}