The "physically impossible size" test was supposed to test calloc()==NULL
failure, but in reality it was triggering asserts before that.
return FATAL_TEST_FAILURE;
case 2: /* physically impossible size */
- (void)p_malloc(pool, SSIZE_T_MAX - (size_t)MEM_ALIGN(1));
+ (void)p_malloc(pool, SSIZE_T_MAX - 1024);
return FATAL_TEST_FAILURE;
/* Continue with other tests as follows:
return FATAL_TEST_FAILURE;
case 2: /* physically impossible size */
- (void)p_malloc(pool, SSIZE_T_MAX - (size_t)MEM_ALIGN(1));
+ (void)p_malloc(pool, SSIZE_T_MAX - 1024);
return FATAL_TEST_FAILURE;
/* Continue with other tests as follows: