mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
vc4: Fix compiler warning from size_t change.
I missed this when bringing over the kernel changes.
This commit is contained in:
parent
a5256012ef
commit
1529f138ff
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue