Commit a542400d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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]
parent 2a5acd3d
...@@ -1342,8 +1342,8 @@ static void CDECL for_static_i8_cb(void) ...@@ -1342,8 +1342,8 @@ static void CDECL for_static_i8_cb(void)
{ 100, 200, 3, -1 }, { 100, 200, 3, -1 },
{ 0x7ffffffe, -0x80000000, 1, 123 }, { 0x7ffffffe, -0x80000000, 1, 123 },
{ 0x7fffffff, -0x80000000, 1, 123 }, { 0x7fffffff, -0x80000000, 1, 123 },
{ 0x7ffffffffffffffeLL, -0x8000000000000000LL, 1, 123 }, { I64_MAX - 1, I64_MIN, 1, 123 },
{ 0x7fffffffffffffffLL, -0x8000000000000000LL, 1, 123 }, { I64_MAX, I64_MIN, 1, 123 },
}; };
int num_threads = pomp_get_num_threads(); int num_threads = pomp_get_num_threads();
int thread_num = pomp_get_thread_num(); int thread_num = pomp_get_thread_num();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment