diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-02-20 17:09:28 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-02-26 13:35:36 +0000 |
commit | 0b192e84510c006d87cee3c29f95511ad088b704 (patch) | |
tree | 80abef10e2afde5dcab6715b207ebca4d7dc0755 /tests/validation | |
parent | 582163206bbfb03b3af0009d6ec2d9bab747780d (diff) | |
download | ComputeLibrary-0b192e84510c006d87cee3c29f95511ad088b704.tar.gz |
COMPMID-3067: Address gcc9 failures
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I048d1d7dda7edf587d37ce83a93b557d8a95754a
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2771
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation')
-rw-r--r-- | tests/validation/reference/Convolution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<T> convolution(const SimpleTensor<uint8_t> &src, DataType output_da const unsigned int height) { ARM_COMPUTE_ERROR_ON(scale == 0); - ARM_COMPUTE_ERROR_ON(scale >= std::numeric_limits<int32_t>::max()); + ARM_COMPUTE_ERROR_ON(scale >= static_cast<unsigned int>(std::numeric_limits<int32_t>::max())); SimpleTensor<T> dst(src.shape(), output_data_type); SimpleTensor<int32_t> sum(src.shape(), output_data_type); |