fix msvc warnings

这个提交包含在:
Leon 2019-06-14 15:04:30 +02:00
父节点 bf0aca644e
当前提交 e353081cc2
共有 3 个文件被更改,包括 3 次插入3 次删除

查看文件

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