From: Eric Anholt Date: Thu, 25 Dec 2014 19:35:46 +0000 (-1000) Subject: vc4: Fix the argument type for cl_u16(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b607b54cea5fd8378af36e27ba2ff5ffd60dfb8;p=mesa.git vc4: Fix the argument type for cl_u16(). It doesn't matter, since it just got truncated to 16 inside, anyway. --- 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);