!906 【OpenHarmony开源贡献者计划2022】Optimized conversion instructions.

Merge pull request !906 from Mr_YX/master
This commit is contained in:
openharmony_ci
2022-06-27 09:31:08 +00:00
committed by Gitee
4 changed files with 6 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ static UINT32 TestCase(VOID)
x = nrand48(seed);
if ((x < 0) || (x > MAX_NRAND48)) {
printf("[IN %s][line %d] x = %d\n", __FUNCTION__, __LINE__, x);
printf("[IN %s][line %d] x = %ld\n", __FUNCTION__, __LINE__, x);
goto EXIT;
}

View File

@@ -38,7 +38,7 @@ static UINT32 TestCase(VOID)
x = random();
if (x > labs(MAX_RANDOM - 1)) {
printf("[IN %s][line %d] x = %d\n", __FUNCTION__, __LINE__, x);
printf("[IN %s][line %d] x = %ld\n", __FUNCTION__, __LINE__, x);
goto EXIT;
}

View File

@@ -39,7 +39,7 @@ static UINT32 TestCase(VOID)
x = jrand48(seed);
if ((x < -JRAND48_NUM) || (x > JRAND48_NUM)) {
printf("[IN %s][line %d] x = %d\n", __FUNCTION__, __LINE__, x);
printf("[IN %s][line %d] x = %ld\n", __FUNCTION__, __LINE__, x);
goto EXIT;
}