From f1dada304a552cc19d27d0506d16040ff787c0c1 Mon Sep 17 00:00:00 2001 From: Ledion Daja Date: Fri, 17 Feb 2023 09:58:00 +0100 Subject: Fix SEI CERT coding standard warnings Change-Id: I831e4546832aeae22c48b92cd2e8adfac797e704 --- lib/ethosu_monitor/include/ethosu_monitor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ethosu_monitor/include/ethosu_monitor.hpp') diff --git a/lib/ethosu_monitor/include/ethosu_monitor.hpp b/lib/ethosu_monitor/include/ethosu_monitor.hpp index 2bdeb4a..4ef5821 100644 --- a/lib/ethosu_monitor/include/ethosu_monitor.hpp +++ b/lib/ethosu_monitor/include/ethosu_monitor.hpp @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: Copyright 2021-2022 Arm Limited and/or its affiliates + * SPDX-FileCopyrightText: Copyright 2021-2023 Arm Limited and/or its affiliates * * SPDX-License-Identifier: Apache-2.0 * @@ -56,7 +56,7 @@ public: for (size_t i = 0; i < ETHOSU_PMU_NCOUNTERS; i++) { ETHOSU_PMU_Set_EVTYPER(drv, i, static_cast(ethosuEventIds[i])); - ETHOSU_PMU_CNTR_Enable(drv, 1 << i); + ETHOSU_PMU_CNTR_Enable(drv, 1u << i); } ETHOSU_PMU_CNTR_Enable(drv, ETHOSU_PMU_CCNT_Msk); -- cgit v1.2.1