From 2b298cc9b3519152fef6aa28dea6ce7d1bdbca99 Mon Sep 17 00:00:00 2001 From: sonic011gamer <58566108+sonic011gamer@users.noreply.github.com> Date: Sat, 4 Nov 2023 12:18:29 +0200 Subject: [PATCH] Update MathLib.c Make it so it can compile on 32-bit ARM architectures. --- MsCorePkg/Library/MathLib/MathLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MsCorePkg/Library/MathLib/MathLib.c b/MsCorePkg/Library/MathLib/MathLib.c index 1dfa4bae50..bceea5e2b7 100644 --- a/MsCorePkg/Library/MathLib/MathLib.c +++ b/MsCorePkg/Library/MathLib/MathLib.c @@ -218,7 +218,7 @@ sqrt_d ( IN CONST double input ) { - UINT64 firstGuess = (UINT64)input; + UINT32 firstGuess = (UINT32)input; double x = 0; double prevX = -1;