From ae3128c18070a39b48deb44b2acc3a6fba8bd5f2 Mon Sep 17 00:00:00 2001 From: dzaima Date: Wed, 5 Jun 2024 02:29:42 +0300 Subject: [PATCH] relax CHECK_IA in takedrop_highrank future overflow in ria*elWidth when allocating shouldn't be a worry as all such calculations should be done in u64, and CHECK_IA(x, 1) guarantees that x is (much) less than 2^60 in both usz configurations --- src/builtins/sfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/sfns.c b/src/builtins/sfns.c index fc1bf449..72e157db 100644 --- a/src/builtins/sfns.c +++ b/src/builtins/sfns.c @@ -485,7 +485,7 @@ NOINLINE B takedrop_highrank(bool take, B w, B x) { } if (bad && !good) thrOOM(); - CHECK_IA(ria, 8); + CHECK_IA(ria, 1); if (cellStart<=0) { if (xr==rr) {