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:
parent
abb4778187
commit
3a1db510e2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue