Fix /W4 warnings on VS2019

This commit is contained in:
pete
2021-06-17 15:55:20 +01:00
parent f61f607744
commit e6993d496d
13 changed files with 180 additions and 145 deletions
+2 -2
View File
@@ -555,14 +555,14 @@ void init_quant_mode_table()
unsigned int p = get_ise_sequence_bitcount(2 * j, (quant_method)i);
if (p < 128)
{
quant_mode_table[j][p] = i;
quant_mode_table[j][p] = static_cast<int8_t>(i);
}
}
}
for (int i = 0; i <= 16; i++)
{
int largest_value_so_far = -1;
int8_t largest_value_so_far = -1;
for (unsigned int j = 0; j < 128; j++)
{
if (quant_mode_table[i][j] > largest_value_so_far)