1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixed U8 to float conversions

This commit is contained in:
Brian Fiete 2024-12-02 12:17:23 -05:00
parent abb4778187
commit 3a1db510e2

View file

@ -1231,10 +1231,10 @@ CeOperand CeBuilder::EmitNumericCast(const CeOperand& ceValue, BeType* toType, b
op = CeOp_Conv_U8_U64;
break;
case BeTypeCode_Float:
op = CeOp_Conv_I8_F32;
op = CeOp_Conv_U8_F32;
break;
case BeTypeCode_Double:
op = CeOp_Conv_I8_F64;
op = CeOp_Conv_U8_F64;
break;
}
break;