From cedb78f24d68a5f4ad3483d21c14798653705f2f Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Thu, 23 Aug 2018 10:23:52 +0900 Subject: COMPMID-1536: Github PR: Removed redundant const qualifier on cast GCC (>=8) yields warning w/ -Wignored-qualifers (enabled by -Wextra) on such usage. Change-Id: Ib3284b60cec0ec4faf8c6e6c1e2980cbf5731973 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/145384 Tested-by: Jenkins Reviewed-by: Georgios Pinitas --- src/core/NEON/kernels/NEMinMaxLocationKernel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/NEON/kernels/NEMinMaxLocationKernel.cpp') diff --git a/src/core/NEON/kernels/NEMinMaxLocationKernel.cpp b/src/core/NEON/kernels/NEMinMaxLocationKernel.cpp index b90e81339b..befece2741 100644 --- a/src/core/NEON/kernels/NEMinMaxLocationKernel.cpp +++ b/src/core/NEON/kernels/NEMinMaxLocationKernel.cpp @@ -212,7 +212,7 @@ void NEMinMaxKernel::minmax_S16(Window win) execute_window_loop(win, [&](const Coordinates & id) { int x = x_start; - const auto in_ptr = reinterpret_cast(input.ptr()); + const auto in_ptr = reinterpret_cast(input.ptr()); // Vector loop for(; x <= x_end - 16; x += 16) @@ -271,7 +271,7 @@ void NEMinMaxKernel::minmax_F32(Window win) execute_window_loop(win, [&](const Coordinates & id) { int x = x_start; - const auto in_ptr = reinterpret_cast(input.ptr()); + const auto in_ptr = reinterpret_cast(input.ptr()); // Vector loop for(; x <= x_end - 8; x += 8) -- cgit v1.2.1