From a20b3129aa1c450ccf867c7b63844e8391753730 Mon Sep 17 00:00:00 2001 From: Keith Mok Date: Sun, 20 Dec 2020 00:05:14 -0800 Subject: Fix mac build breaks Signed-off-by: Keith Mok Change-Id: I4b2926342bbf8621f7b7f5695cf1526dd7281bef --- src/armnnUtils/Threads.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/armnnUtils/Threads.cpp b/src/armnnUtils/Threads.cpp index 64a84812d2..e5cf27622c 100644 --- a/src/armnnUtils/Threads.cpp +++ b/src/armnnUtils/Threads.cpp @@ -13,6 +13,7 @@ #include #elif defined(__APPLE__) #include "AvailabilityMacros.h" +#include #include #include #include @@ -36,7 +37,7 @@ int GetCurrentThreadId() { return 0; } - return threadId; + return static_cast(threadId); #endif } -- cgit v1.2.1