align expects 32-bit integers while size_t can be 64-bit. Also move aligning to after size is checked against VKR_CS_DECODER_TEMP_POOL_MAX_SIZE. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>macos/master
parent
eb98abc86e
commit
d6ebb60f20
Loading…
Reference in new issue