!938 修复用例告警

Merge pull request !938 from xuxinyu/master
This commit is contained in:
openharmony_ci 2022-07-29 03:46:59 +00:00 committed by Gitee
commit 6302c5f767
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ static UINT32 TestCase(VOID)
long x;
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);
goto EXIT;
}