summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2014-03-27 10:18:05 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2014-03-27 19:06:26 +0800
commit3e0ada260754af98808f7c4ff9eb1c980e68ab39 (patch)
tree6a6af8a8c61d8e07a6e6a13de0344962f8c4b0b6
parent6def16748a15e3153015014c5fa6927a5bcae399 (diff)
downloadcts-linaro-master.tar.gz
audio_quality: Fix for 64-bit compatibilitylinaro-master
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 <yongqin.liu@linaro.org>
-rw-r--r--suite/audio_quality/lib/src/task/TaskProcess.cpp2
1 files changed, 1 insertions, 1 deletions
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<TaskProcess::Param>& 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);