From 3e0ada260754af98808f7c4ff9eb1c980e68ab39 Mon Sep 17 00:00:00 2001 From: Yongqin Liu Date: Thu, 27 Mar 2014 10:18:05 +0800 Subject: audio_quality: Fix for 64-bit compatibility when compile with the aarch64 bit toolchain, it will report errors like this: error: call of overloaded 'Value(long long int&)' is ambiguous here changed the value to int64_t type instead of long long type to make it call TaskCase::Value::Value(int64_t) constructor explicitly Change-Id: I0e54d9ab6b686873e7063b4e8d85880eddc3b38b Signed-off-by: Yongqin Liu --- suite/audio_quality/lib/src/task/TaskProcess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/audio_quality/lib/src/task/TaskProcess.cpp b/suite/audio_quality/lib/src/task/TaskProcess.cpp index f1e47af6b38..8930e011990 100644 --- a/suite/audio_quality/lib/src/task/TaskProcess.cpp +++ b/suite/audio_quality/lib/src/task/TaskProcess.cpp @@ -271,7 +271,7 @@ bool TaskProcess::parseParams(std::vector& list, const char* list.push_back(param); LOGD(" val %s", param.getParamString().string()); } else if (isInput && (StringUtil::compare(item[0], "consti") == 0)) { - long long value = atoll(item[1].string()); + int64_t value = (int64_t)atoll(item[1].string()); TaskCase::Value v(value); Param param(v); list.push_back(param); -- cgit v1.2.3