Skip to content

Commit

Permalink
[onert-micro] Fix build error for arm
Browse files Browse the repository at this point in the history
- fix error: invalid conversion from 'const int*' to 'const int32_t*'

ONE-DCO-1.0-Signed-off-by: Chunseok Lee <[email protected]>
  • Loading branch information
chunseoklee committed Aug 1, 2023
1 parent 88ea00f commit 4f62e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onert-micro/luci-interpreter/pal/mcu/PALResizeBilinear.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<const int *>(shape.dimsData());
const int32_t *dims_data = reinterpret_cast<const int32_t *>(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]);
Expand Down

0 comments on commit 4f62e39

Please sign in to comment.