fix msvc warnings

Este commit está contenido en:
Leon 2019-06-14 15:04:30 +02:00
padre bf0aca644e
commit e353081cc2
Se han modificado 3 ficheros con 3 adiciones y 3 borrados

Ver fichero

@ -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;
}

Ver fichero

@ -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;
}

Ver fichero

@ -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;
}