diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2024-02-15 15:31:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 15:31:38 +0100 |
commit | 84165864d458edce750f3a10d5dbd348970893b6 (patch) | |
tree | 1bbc290c20af1482a9b5e13ec40dc30f3530ffbb /libc | |
parent | 97ab3c345d5c7de80dde3f8bd350841050244db9 (diff) | |
download | llvm-84165864d458edce750f3a10d5dbd348970893b6.zip llvm-84165864d458edce750f3a10d5dbd348970893b6.tar.gz llvm-84165864d458edce750f3a10d5dbd348970893b6.tar.bz2 |
[libc][NFC] Fix missing replacement in BigInt (#81864)
Diffstat (limited to 'libc')
-rw-r--r-- | libc/src/__support/UInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/__support/UInt.h b/libc/src/__support/UInt.h index 0828a34..a1e9c4cd 100644 --- a/libc/src/__support/UInt.h +++ b/libc/src/__support/UInt.h @@ -65,7 +65,7 @@ struct BigInt { val[i] = other[i]; } else { size_t i = 0; - for (; i < OtherBits / 64; ++i) + for (; i < OtherBits / WORD_SIZE; ++i) val[i] = other[i]; WordType sign = 0; if constexpr (Signed && OtherSigned) { |