From de80b86cc12ccc1fc3e329f9a842f1369c4fd887 Mon Sep 17 00:00:00 2001 From: elsid Date: Fri, 2 Sep 2022 20:26:57 +0200 Subject: [PATCH] Use proper type to cast enum value --- components/detournavigator/asyncnavmeshupdater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/detournavigator/asyncnavmeshupdater.cpp b/components/detournavigator/asyncnavmeshupdater.cpp index 1ece1131c7..5740b9b4e4 100644 --- a/components/detournavigator/asyncnavmeshupdater.cpp +++ b/components/detournavigator/asyncnavmeshupdater.cpp @@ -125,7 +125,7 @@ namespace DetourNavigator case JobStatus::Fail: return stream << "JobStatus::Fail"; case JobStatus::MemoryCacheMiss: return stream << "JobStatus::MemoryCacheMiss"; } - return stream << "JobStatus::" << static_cast>(value); + return stream << "JobStatus::" << static_cast>(value); } Job::Job(const AgentBounds& agentBounds, std::weak_ptr navMeshCacheItem,