vcomp/tests: Use limits.h macros in for_static_i8_cb.
Fixes clang warning: vcomp.c:1346:34: warning: overflow in expression; result is -9223372036854775808 with type 'long long' [-Winteger-overflow]
This commit is contained in:
parent
2a5acd3dda
commit
a542400d15
1 changed files with 2 additions and 2 deletions
|
@ -1342,8 +1342,8 @@ static void CDECL for_static_i8_cb(void)
|
|||
{ 100, 200, 3, -1 },
|
||||
{ 0x7ffffffe, -0x80000000, 1, 123 },
|
||||
{ 0x7fffffff, -0x80000000, 1, 123 },
|
||||
{ 0x7ffffffffffffffeLL, -0x8000000000000000LL, 1, 123 },
|
||||
{ 0x7fffffffffffffffLL, -0x8000000000000000LL, 1, 123 },
|
||||
{ I64_MAX - 1, I64_MIN, 1, 123 },
|
||||
{ I64_MAX, I64_MIN, 1, 123 },
|
||||
};
|
||||
int num_threads = pomp_get_num_threads();
|
||||
int thread_num = pomp_get_thread_num();
|
||||
|
|
Loading…
Add table
Reference in a new issue