From 0f50d148543e52e8c58005aad78976897bc4bacc Mon Sep 17 00:00:00 2001 From: Fred Hornsey Date: Thu, 1 Jul 2021 14:41:42 -0500 Subject: Fix Integer Literals for Windows --- TAO/tests/IDLv4/explicit_ints/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TAO/tests') 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 (any_failed, "i16_min", i16_min, -32768); expect_equals (any_failed, "i16_max", i16_max, 32767); expect_equals (any_failed, "u32_max", u32_max, 4294967295); - expect_equals (any_failed, "i32_min", i32_min, -2147483648); + expect_equals (any_failed, "i32_min", i32_min, -2147483647 - 1); expect_equals (any_failed, "i32_max", i32_max, 2147483647); expect_equals (any_failed, "u64_max", u64_max, 18446744073709551615ULL); - expect_equals (any_failed, "i64_min", i64_min, (-9223372036854775807 - 1)); + expect_equals (any_failed, "i64_min", i64_min, -9223372036854775807 - 1); expect_equals (any_failed, "i64_max", i64_max, 9223372036854775807); expect_equals (any_failed, "u8_min_overflow", u8_min_overflow, u8_max); -- cgit v1.2.1