From 073872266ac2bc33c4f518903f5459b3f5b0e430 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Tue, 9 Mar 2021 14:40:54 +0100 Subject: Fixed maximum value --- ACE/tests/New_Fail_Test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACE/tests/New_Fail_Test.cpp b/ACE/tests/New_Fail_Test.cpp index f1f94d8115c..09e804ebc75 100644 --- a/ACE/tests/New_Fail_Test.cpp +++ b/ACE/tests/New_Fail_Test.cpp @@ -31,7 +31,7 @@ // somewhere else in the test. // Most we can do on Windows, else we get a C2148 compile error -static constexpr size_t BIG_BLOCK = 0x7ffffffff - 1; +static constexpr size_t BIG_BLOCK = 0x7fffffff - 1; // Shouldn't take many "as much as possible" tries to get a failure. static constexpr int MAX_ALLOCS_IN_TEST = 20; -- cgit v1.2.1