diff options
author | Eric Anholt <[email protected]> | 2015-12-07 12:24:46 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-12-08 09:49:50 -0800 |
commit | 1529f138fff59bdb857d5f7da0ee2537521d5044 (patch) | |
tree | 3aa68f2579da24edbf8bcb288986f4bb5cffc278 | |
parent | a5256012ef8ea31bc8025fc72193a9772372c9a1 (diff) |
vc4: Fix compiler warning from size_t change.
I missed this when bringing over the kernel changes.
-rw-r--r-- | src/gallium/drivers/vc4/kernel/vc4_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |