From 4f62e393e94182b643eae8dcc66c462723bd59c6 Mon Sep 17 00:00:00 2001 From: Chunseok Lee Date: Tue, 1 Aug 2023 10:40:59 +0300 Subject: [PATCH] [onert-micro] Fix build error for arm - fix error: invalid conversion from 'const int*' to 'const int32_t*' ONE-DCO-1.0-Signed-off-by: Chunseok Lee --- onert-micro/luci-interpreter/pal/mcu/PALResizeBilinear.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onert-micro/luci-interpreter/pal/mcu/PALResizeBilinear.h b/onert-micro/luci-interpreter/pal/mcu/PALResizeBilinear.h index b2808b2d024..b2ddfa75da4 100644 --- a/onert-micro/luci-interpreter/pal/mcu/PALResizeBilinear.h +++ b/onert-micro/luci-interpreter/pal/mcu/PALResizeBilinear.h @@ -28,7 +28,7 @@ inline int Offset(const luci_interpreter::RuntimeShape &shape, int i0, int i1, i { assert(shape.dimensionsCount() == 4); - const int32_t *dims_data = reinterpret_cast(shape.dimsData()); + const int32_t *dims_data = reinterpret_cast(shape.dimsData()); LUCI_INTERPRETER_CHECK(i0 >= 0 && i0 < dims_data[0]); LUCI_INTERPRETER_CHECK(i1 >= 0 && i1 < dims_data[1]); LUCI_INTERPRETER_CHECK(i2 >= 0 && i2 < dims_data[2]);