From 2400c3c9ae6baaec3655c2c9ac57c1ae4ab1ad4b Mon Sep 17 00:00:00 2001 From: hufeng Date: Sat, 26 Feb 2022 11:49:53 +0800 Subject: [PATCH] fix codereview Signed-off-by: hufeng Change-Id: Icdab373f73509b33ea66184f9b2f50124e1d8a13 --- ts2panda/ts2abc/ts2abc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts2panda/ts2abc/ts2abc.cpp b/ts2panda/ts2abc/ts2abc.cpp index 6d5e7b14a7..d3f163a39e 100644 --- a/ts2panda/ts2abc/ts2abc.cpp +++ b/ts2panda/ts2abc/ts2abc.cpp @@ -294,12 +294,12 @@ static panda::pandasm::Record ParseRecord(const Json::Value &record) int boundLeft = -1; if (record.isMember("bound_left") && record["bound_left"].isInt()) { - boundLeft = record["bound_left"].asUInt(); + boundLeft = record["bound_left"].asInt(); } int boundRight = -1; if (record.isMember("bound_right") && record["bound_right"].isInt()) { - boundRight = record["bound_right"].asUInt(); + boundRight = record["bound_right"].asInt(); } int lineNumber = -1; -- Gitee