提交 f0d59595 编写于 作者: X xuxinyu

fix: 修复用例告警问题

re #I5I21P
Signed-off-by: Nxuxinyu <xuxinyu6@huawei.com>
Change-Id: Iedab5b6fddafc2042c7fd23fbcd82061629f87d8
上级 5e701291
...@@ -37,7 +37,7 @@ static UINT32 TestCase(VOID) ...@@ -37,7 +37,7 @@ static UINT32 TestCase(VOID)
long x; long x;
x = random(); x = random();
if (x > labs(MAX_RANDOM - 1)) { if (x > static_cast<long>(MAX_RANDOM - 1)) {
printf("[IN %s][line %d] x = %ld\n", __FUNCTION__, __LINE__, x); printf("[IN %s][line %d] x = %ld\n", __FUNCTION__, __LINE__, x);
goto EXIT; goto EXIT;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册