mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcCryptoLib: Silence compiler warnings
closes acidanthera/bugtracker#638
This commit is contained in:
parent
97d375fdd5
commit
f918b0ab19
@ -313,7 +313,7 @@ BigNumRightShiftWordsAndBits (
|
||||
//
|
||||
//ASSERT (NumWords > 0);
|
||||
|
||||
for (Index = NumWords; Index < NumWordsA - 1; ++Index) {
|
||||
for (Index = NumWords; Index < (UINTN) (NumWordsA - 1); ++Index) {
|
||||
Result[Index - NumWords] = (A[Index] >> NumBits) | (A[Index + 1] << (OC_BN_WORD_NUM_BITS - NumBits));
|
||||
}
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user