aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2021-11-26 16:13:58 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-12-02 15:28:43 +0100
commite4f09e559c15439f65f876e0d08c0730ecb0e840 (patch)
treef641f158c5e6d82ea96f02cde65010ba780b23a3 /lib
parent02856bdd80f0ed52d09dd2fea450e61eb02372d6 (diff)
downloadethos-u-core-software-e4f09e559c15439f65f876e0d08c0730ecb0e840.tar.gz
Fixing compiler warnings
Updating compiler warnings enabled for TFLu. Fixing compiler warnings reported by Arm Clang and Arm GCC. Change-Id: Iea959a59ea5416326a3014654389af82903c94a3
Diffstat (limited to 'lib')
-rw-r--r--lib/ethosu_monitor/src/ethosu_monitor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ethosu_monitor/src/ethosu_monitor.cpp b/lib/ethosu_monitor/src/ethosu_monitor.cpp
index 651fc28..0fe4b44 100644
--- a/lib/ethosu_monitor/src/ethosu_monitor.cpp
+++ b/lib/ethosu_monitor/src/ethosu_monitor.cpp
@@ -18,6 +18,7 @@
#include "ethosu_monitor.hpp"
#include "ethosu_log.h"
+#include <inttypes.h>
#include <stdio.h>
EthosUMonitor::EthosUMonitor(std::vector<int32_t> __eventRecordIds, Backend __backend) :
@@ -34,7 +35,7 @@ void EthosUMonitor::monitorSample(ethosu_driver *drv) {
break;
case PRINTF:
default:
- LOG("ethosu_pmu_cntr%d : %u\n", i, eventCount[i]);
+ LOG("ethosu_pmu_cntr%zd : %" PRIu32 "\n", i, eventCount[i]);
}
}
}