ethos: fix build on non LP64 architectures

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14310
Signed-off-by: Linus Karl <linus@lotz.li>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38592>
This commit is contained in:
Linus Karl
2025-11-21 12:22:40 +01:00
committed by Marge Bot
parent 01cb7d7fd1
commit 7700ba28f5

View File

@@ -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,