diff options
author | Adam Mitz <mitza@objectcomputing.com> | 2021-07-09 09:44:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-09 09:44:51 -0500 |
commit | 5e3afb9d934fe5d94d26bb4831c7ba7ed35a3c43 (patch) | |
tree | 300fed79d3b5df6da836c21bc2454c16b315926e /TAO/tests | |
parent | e43718d94e0cdd4590004163249eb4f0bde72025 (diff) | |
parent | 1252f0d1f1ea2182759b029871a3ca2a7994256b (diff) | |
download | ATCD-5e3afb9d934fe5d94d26bb4831c7ba7ed35a3c43.tar.gz |
Merge pull request #1594 from iguessthislldo/igtd/stdint
Fix Coverity Issues and Compiler Warnings
Diffstat (limited to 'TAO/tests')
-rw-r--r-- | TAO/tests/IDLv4/explicit_ints/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tests/IDLv4/explicit_ints/main.cpp b/TAO/tests/IDLv4/explicit_ints/main.cpp index cff84c84463..7aaa38a8d9c 100644 --- a/TAO/tests/IDLv4/explicit_ints/main.cpp +++ b/TAO/tests/IDLv4/explicit_ints/main.cpp @@ -42,10 +42,10 @@ ACE_TMAIN (int, ACE_TCHAR *[]) expect_equals<CORBA::Int16> (any_failed, "i16_min", i16_min, -32768); expect_equals<CORBA::Int16> (any_failed, "i16_max", i16_max, 32767); expect_equals<CORBA::UInt32> (any_failed, "u32_max", u32_max, 4294967295); - expect_equals<CORBA::Int32> (any_failed, "i32_min", i32_min, -2147483648); + expect_equals<CORBA::Int32> (any_failed, "i32_min", i32_min, -2147483647 - 1); expect_equals<CORBA::Int32> (any_failed, "i32_max", i32_max, 2147483647); expect_equals<CORBA::UInt64> (any_failed, "u64_max", u64_max, 18446744073709551615ULL); - expect_equals<CORBA::Int64> (any_failed, "i64_min", i64_min, (-9223372036854775807 - 1)); + expect_equals<CORBA::Int64> (any_failed, "i64_min", i64_min, -9223372036854775807 - 1); expect_equals<CORBA::Int64> (any_failed, "i64_max", i64_max, 9223372036854775807); expect_equals<CORBA::UInt8> (any_failed, "u8_min_overflow", u8_min_overflow, u8_max); |