Skip to content
Commit 1511fc07 authored by Yuvaraj Venkatesh's avatar Yuvaraj Venkatesh
Browse files

Fix integer precision loss and unused function warnings when using Hardened Compiler Flags



- Marked the `VerifyOperatorAttributeAndInputs` function as [[maybe_unused]] to avoid warnings.
- Replaced `size_t` with `uint32_t` in multiple loops across `tosa_serialization_handler.cpp` and `serialization_npy_test.cpp` for type consistency.
- Applied `static_cast<uint16_t>` and `static_cast<int8_t>` where necessary to ensure safe and explicit type conversions.

Change-Id: Ic22222c6b8736f953339f86b3848dadbc4ce37dc
Signed-off-by: default avatarYuvaraj Venkatesh <yuvaraj.venkatesh@arm.com>
parent eb436649
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment