Skip to content

Commit

Permalink
Merge pull request #4226 from Kelimion/fix-4225
Browse files Browse the repository at this point in the history
Fix #4225
  • Loading branch information
Kelimion committed Sep 10, 2024
2 parents d783bca + 564c782 commit 4df668f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/check_expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3615,7 +3615,7 @@ gb_internal bool check_transmute(CheckerContext *c, Ast *node, Operand *o, Type
if (is_type_integer(src_t) && is_type_integer(dst_t)) {
if (types_have_same_internal_endian(src_t, dst_t)) {
ExactValue src_v = exact_value_to_integer(o->value);
GB_ASSERT(src_v.kind == ExactValue_Integer);
GB_ASSERT(src_v.kind == ExactValue_Integer || src_v.kind == ExactValue_Invalid);
BigInt v = src_v.value_integer;

BigInt smax = {};
Expand Down

0 comments on commit 4df668f

Please sign in to comment.