summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2019-09-03 00:41:42 (GMT)
committerChunseok Lee <chunseok.lee@samsung.com>2019-09-03 00:58:11 (GMT)
commitf3ee35eb8d04aefa52cef46dc52a8a09cf8f1f4d (patch)
tree93603b1c6ee26501482e61cb828478295b4bbb1e
parent3c4729db1a5a927b584cedddd9843cc7f5dfadb5 (diff)
downloadnnfw-tizen_5.50_m2_bak.zip
nnfw-tizen_5.50_m2_bak.tar.gz
nnfw-tizen_5.50_m2_bak.tar.bz2
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 7bc142a..a7f22c4 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;