Fix narrowing converison warning

This commit is contained in:
Jonathan G Rennison
2022-06-05 16:09:50 +01:00
parent 13bb4fc47b
commit f05b5163f7

View File

@@ -6462,7 +6462,7 @@ static void OptimiseVarAction2DeterministicSpriteGroupSimplifyStores(Determinist
DeterministicSpriteGroupAdjust &adjust = group->adjusts[i];
if (adjust.type == DSGA_TYPE_NONE && adjust.operation == DSGA_OP_RST && adjust.variable != 0x7E) {
src_adjust = i;
src_adjust = (int)i;
is_constant = (adjust.variable == 0x1A);
continue;
}