This commit is contained in:
nub31
2025-09-09 15:33:33 +02:00
parent 9c9578f526
commit 14619fd678
4 changed files with 21 additions and 26 deletions

View File

@@ -1124,7 +1124,7 @@ public class QBEGenerator
{
var value = EmitExpression(convertInt.Value);
if (convertInt.ValueType == convertInt.TargetType || convertInt.ValueType.Width > convertInt.TargetType.Width)
if (convertInt.ValueType.Width >= convertInt.TargetType.Width)
{
return value;
}
@@ -1156,7 +1156,7 @@ public class QBEGenerator
{
var value = EmitExpression(convertFloat.Value);
if (convertFloat.ValueType == convertFloat.TargetType)
if (convertFloat.ValueType.Width == convertFloat.TargetType.Width)
{
return value;
}