mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-30 04:30:43 +00:00
cast block expressions
This commit is contained in:
parent
d02b0686b1
commit
8a14e30896
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,7 @@ convert_to_float (expr_t *e)
|
|||
case ex_expr:
|
||||
case ex_uexpr:
|
||||
case ex_temp:
|
||||
case ex_block:
|
||||
return cast_expr (&type_float, e);
|
||||
default:
|
||||
internal_error (e);
|
||||
|
@ -646,6 +647,7 @@ convert_to_uinteger (expr_t *e)
|
|||
case ex_expr:
|
||||
case ex_uexpr:
|
||||
case ex_temp:
|
||||
case ex_block:
|
||||
return cast_expr (&type_uinteger, e);
|
||||
default:
|
||||
internal_error (e);
|
||||
|
|
Loading…
Reference in a new issue