From 10b49c7d3eddb415555cf1fea2b482a44475181c Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Thu, 2 Apr 2020 13:12:32 +0100 Subject: COMPMID-3313: Failed to compile master using gcc 8.1.1 Change-Id: Ied8adf220d6979b780d4bbe9c72d883cae362282 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2974 Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins --- src/core/NEON/kernels/NERangeKernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/NEON/kernels/NERangeKernel.cpp b/src/core/NEON/kernels/NERangeKernel.cpp index 28107226df..fedb923bde 100644 --- a/src/core/NEON/kernels/NERangeKernel.cpp +++ b/src/core/NEON/kernels/NERangeKernel.cpp @@ -62,7 +62,7 @@ void range_function(ITensor *output, float start, float step, const Window &wind const auto out_ptr = reinterpret_cast(output_it.ptr()); for(; x <= (window_end_x - window_step_x); x += window_step_x) { - for(unsigned int count = 0; count < window_step_x; ++count) + for(int count = 0; count < window_step_x; ++count) { id_vec = wrapper::vsetlane(static_cast(x + count), id_vec, count); } -- cgit v1.2.1