Signed-off-by: mr-yx <496043997@qq.com>

This commit is contained in:
Mr_YX
2022-06-20 18:08:19 +00:00
committed by Gitee
parent 4acf1e9f8d
commit 7be302633f
5 changed files with 7 additions and 7 deletions

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;
}

View File

@@ -40,7 +40,7 @@ static UINT32 TestCase(VOID)
lcong48(seed);
x = mrand48();
if ((x < -MRAND48_NUM) || (x > MRAND48_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;
}