diff options
author | Eric Anholt <[email protected]> | 2014-12-25 09:35:46 -1000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-12-25 12:25:41 -1000 |
commit | 0b607b54cea5fd8378af36e27ba2ff5ffd60dfb8 (patch) | |
tree | 43d955116580978cdc5270f30f41eec30bcad970 | |
parent | 890ef622d63cb1caa3f84dd04dc2442324e2b0f2 (diff) |
vc4: Fix the argument type for cl_u16().
It doesn't matter, since it just got truncated to 16 inside, anyway.
-rw-r--r-- | src/gallium/drivers/vc4/vc4_cl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |