From fae513c5585b9ba09c3aa8bfd4f7119208b7b5f9 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Wed, 16 Oct 2019 17:41:33 +0100 Subject: COMPMID-2486: Remove/add disabled compiler warnings Removed the following flags: -Wno-vla -Wno-strict-overflow Added: -Wformat-security Change-Id: I49eb3d724e14db796e543164295674617c37cb65 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/2109 Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio --- src/core/NEON/kernels/NEScaleKernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/NEON/kernels/NEScaleKernel.cpp') diff --git a/src/core/NEON/kernels/NEScaleKernel.cpp b/src/core/NEON/kernels/NEScaleKernel.cpp index a2a44fca18..80da54f50a 100644 --- a/src/core/NEON/kernels/NEScaleKernel.cpp +++ b/src/core/NEON/kernels/NEScaleKernel.cpp @@ -227,7 +227,7 @@ inline void scale_bilinear_nhwc_core(const ITensor *input, const ITensor *offset border_value = static_cast(constant_border_value.get()); } - auto is_valid = [](int x, int low_x, int high_x, int y, int low_y, int high_y) + auto is_valid = [](int64_t x, int64_t low_x, int64_t high_x, int64_t y, int64_t low_y, int64_t high_y) { return !(x < low_x || x > high_x || y < low_y || y > high_y); }; -- cgit v1.2.1