mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-26 09:21:28 +00:00
fix msvc warnings
This commit is contained in:
parent
bf0aca644e
commit
e353081cc2
@ -106,7 +106,7 @@ uint8_t PQCLEAN_LEDAKEMLT12_CLEAN_DFR_test(POSITION_T LSparse[N0][DV * M]) {
|
||||
allBlockMaxSumstMinusOne;
|
||||
}
|
||||
if (DV * M > (allBlockMaxSumstMinusOne + allBlockMaxSumst)) {
|
||||
return allBlockMaxSumst + 1;
|
||||
return (uint8_t) allBlockMaxSumst + 1;
|
||||
}
|
||||
return DFR_TEST_FAIL;
|
||||
}
|
||||
|
@ -106,7 +106,7 @@ uint8_t PQCLEAN_LEDAKEMLT32_CLEAN_DFR_test(POSITION_T LSparse[N0][DV * M]) {
|
||||
allBlockMaxSumstMinusOne;
|
||||
}
|
||||
if (DV * M > (allBlockMaxSumstMinusOne + allBlockMaxSumst)) {
|
||||
return allBlockMaxSumst + 1;
|
||||
return (uint8_t) allBlockMaxSumst + 1;
|
||||
}
|
||||
return DFR_TEST_FAIL;
|
||||
}
|
||||
|
@ -106,7 +106,7 @@ uint8_t PQCLEAN_LEDAKEMLT52_CLEAN_DFR_test(POSITION_T LSparse[N0][DV * M]) {
|
||||
allBlockMaxSumstMinusOne;
|
||||
}
|
||||
if (DV * M > (allBlockMaxSumstMinusOne + allBlockMaxSumst)) {
|
||||
return allBlockMaxSumst + 1;
|
||||
return (uint8_t) allBlockMaxSumst + 1;
|
||||
}
|
||||
return DFR_TEST_FAIL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user