From 00a8e02a4f1ca60771579903381861eeb06b03a9 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 11 Mar 2026 09:52:56 -0700 Subject: [PATCH] Fix value overflow on iOS --- ts/util/long.std.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/util/long.std.ts b/ts/util/long.std.ts index 199918cb54..c1f35bed53 100644 --- a/ts/util/long.std.ts +++ b/ts/util/long.std.ts @@ -1,4 +1,4 @@ // Copyright 2026 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only -export const MAX_VALUE = 0xffffffff_ffffffffn; +export const MAX_VALUE = 0x7fffffff_ffffffffn;