From 0b607b54cea5fd8378af36e27ba2ff5ffd60dfb8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 25 Dec 2014 09:35:46 -1000 Subject: vc4: Fix the argument type for cl_u16(). It doesn't matter, since it just got truncated to 16 inside, anyway. --- src/gallium/drivers/vc4/vc4_cl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/vc4/vc4_cl.h b/src/gallium/drivers/vc4/vc4_cl.h index 33b37298406..36df11b5aed 100644 --- a/src/gallium/drivers/vc4/vc4_cl.h +++ b/src/gallium/drivers/vc4/vc4_cl.h @@ -55,7 +55,7 @@ cl_u8(struct vc4_cl *cl, uint8_t n) } static inline void -cl_u16(struct vc4_cl *cl, uint32_t n) +cl_u16(struct vc4_cl *cl, uint16_t n) { assert((cl->next - cl->base) + 2 <= cl->size); -- cgit v1.2.3