From 0b192e84510c006d87cee3c29f95511ad088b704 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 20 Feb 2020 17:09:28 +0000 Subject: COMPMID-3067: Address gcc9 failures Signed-off-by: Georgios Pinitas Change-Id: I048d1d7dda7edf587d37ce83a93b557d8a95754a Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2771 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- tests/validation/reference/Convolution.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/validation/reference') diff --git a/tests/validation/reference/Convolution.cpp b/tests/validation/reference/Convolution.cpp index 1083d50e0d..5e0f29d421 100644 --- a/tests/validation/reference/Convolution.cpp +++ b/tests/validation/reference/Convolution.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2019 ARM Limited. + * Copyright (c) 2017-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -40,7 +40,7 @@ SimpleTensor convolution(const SimpleTensor &src, DataType output_da const unsigned int height) { ARM_COMPUTE_ERROR_ON(scale == 0); - ARM_COMPUTE_ERROR_ON(scale >= std::numeric_limits::max()); + ARM_COMPUTE_ERROR_ON(scale >= static_cast(std::numeric_limits::max())); SimpleTensor dst(src.shape(), output_data_type); SimpleTensor sum(src.shape(), output_data_type); -- cgit v1.2.1