summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2019-09-03 09:41:42 +0900
committerChunseok Lee <chunseok.lee@samsung.com>2019-09-03 09:58:11 +0900
commitf3ee35eb8d04aefa52cef46dc52a8a09cf8f1f4d (patch)
tree93603b1c6ee26501482e61cb828478295b4bbb1e
parent3c4729db1a5a927b584cedddd9843cc7f5dfadb5 (diff)
downloadnnfw-f3ee35eb8d04aefa52cef46dc52a8a09cf8f1f4d.tar.gz
nnfw-f3ee35eb8d04aefa52cef46dc52a8a09cf8f1f4d.tar.bz2
nnfw-f3ee35eb8d04aefa52cef46dc52a8a09cf8f1f4d.zip
To remove integer overflow warning by svace, use explicit type int64_t, not auto Change-Id: Ibfd98a8e1e44ba666b65451b5210c0c920388e08 Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com> Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
-rw-r--r--runtimes/neurun/core/src/exec/DataflowExecutor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtimes/neurun/core/src/exec/DataflowExecutor.cc b/runtimes/neurun/core/src/exec/DataflowExecutor.cc
index 7bc142a77..a7f22c430 100644
--- a/runtimes/neurun/core/src/exec/DataflowExecutor.cc
+++ b/runtimes/neurun/core/src/exec/DataflowExecutor.cc
@@ -27,7 +27,7 @@ namespace exec
int64_t DataflowExecutor::calculateRank(const std::vector<model::Element> &operations)
{
- auto rank = 0;
+ int64_t rank = 0;
if (!_indexed_ranks)
{
return rank;