From fae513c5585b9ba09c3aa8bfd4f7119208b7b5f9 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Wed, 16 Oct 2019 17:41:33 +0100 Subject: COMPMID-2486: Remove/add disabled compiler warnings Removed the following flags: -Wno-vla -Wno-strict-overflow Added: -Wformat-security Change-Id: I49eb3d724e14db796e543164295674617c37cb65 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/2109 Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio --- tests/framework/instruments/MaliCounter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/framework/instruments/MaliCounter.h') diff --git a/tests/framework/instruments/MaliCounter.h b/tests/framework/instruments/MaliCounter.h index a3cc446cb2..94ef93fdb5 100644 --- a/tests/framework/instruments/MaliCounter.h +++ b/tests/framework/instruments/MaliCounter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -86,7 +86,7 @@ private: const char *const _device { "/dev/mali0" }; - int _num_cores{ 0 }; + uint32_t _num_cores{ 0 }; uint32_t _hw_ver{ 0 }; int _buffer_count{ 16 }; size_t _buffer_size{ 0 }; -- cgit v1.2.1