From 6f9f99024df71b6b7f7115b58d85eb100c66f3c5 Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Fri, 13 Nov 2020 13:23:15 +0000 Subject: IVGCVSW-5508 Activate compiler warnings in ArmNN TfLite Delegate Signed-off-by: Finn Williams Change-Id: I1a8e2aa618ff693c61010e6150f3ca41b8ab1201 --- delegate/src/test/Pooling2dTestHelper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'delegate/src/test') diff --git a/delegate/src/test/Pooling2dTestHelper.hpp b/delegate/src/test/Pooling2dTestHelper.hpp index a344650814..f107d9473f 100644 --- a/delegate/src/test/Pooling2dTestHelper.hpp +++ b/delegate/src/test/Pooling2dTestHelper.hpp @@ -191,7 +191,7 @@ void Pooling2dTest(tflite::BuiltinOperator poolingOperatorCode, auto armnnDelegateOutputData = armnnDelegateInterpreter->typed_tensor(armnnDelegateOutputId); auto armnnDelegateOutputTensor = armnnDelegateInterpreter->tensor(armnnDelegateOutputId); - for (size_t i = 0; i < tfLiteDelegateOutputTensor->dims->size; i++) + for (size_t i = 0; i < static_cast(tfLiteDelegateOutputTensor->dims->size); i++) { CHECK(outputShape[i] == armnnDelegateOutputTensor->dims->data[i]); CHECK(tfLiteDelegateOutputTensor->dims->data[i] == armnnDelegateOutputTensor->dims->data[i]); -- cgit v1.2.1