Module: Mesa Branch: master Commit: 0b607b54cea5fd8378af36e27ba2ff5ffd60dfb8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b607b54cea5fd8378af36e27ba2ff5ffd60dfb8
Author: Eric Anholt <[email protected]> Date: Thu Dec 25 09:35:46 2014 -1000 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(-) diff --git a/src/gallium/drivers/vc4/vc4_cl.h b/src/gallium/drivers/vc4/vc4_cl.h index 33b3729..36df11b 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); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
