From 7700ba28f5dab5be11fa24ce6343972f9475bbb8 Mon Sep 17 00:00:00 2001 From: Linus Karl Date: Fri, 21 Nov 2025 12:22:40 +0100 Subject: [PATCH] ethos: fix build on non LP64 architectures Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14310 Signed-off-by: Linus Karl Part-of: --- src/gallium/drivers/ethosu/ethosu_coefs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/ethosu/ethosu_coefs.c b/src/gallium/drivers/ethosu/ethosu_coefs.c index fe793fcc321..0fed9e4a929 100644 --- a/src/gallium/drivers/ethosu/ethosu_coefs.c +++ b/src/gallium/drivers/ethosu/ethosu_coefs.c @@ -82,7 +82,7 @@ fill_weights(struct ethosu_subgraph *subgraph, struct ethosu_operation *operatio } pipe_buffer_unmap(subgraph->base.context, transfer_in); - long padded_size = 0; + int64_t padded_size = 0; *weights_size = mlw_reorder_encode( IFM_UBLOCK.depth, OFM_UBLOCK.depth,