From ad9cfcdcc7bf7fd8ac27803e81e0e596147e3194 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Mon, 30 Dec 2024 18:24:01 +0100 Subject: [PATCH] Fix typo. --- src/compiler/sema_casts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/sema_casts.c b/src/compiler/sema_casts.c index dbbe09ac2..215793d52 100644 --- a/src/compiler/sema_casts.c +++ b/src/compiler/sema_casts.c @@ -1475,7 +1475,7 @@ static void cast_typeid_to_int(SemaContext *context, Expr *expr, Type *type) static void cast_fault_to_int(SemaContext *context, Expr *expr, Type *type) { - return cast_typeid_to_int(context, expr, type); + cast_typeid_to_int(context, expr, type); } static void cast_typeid_to_ptr(SemaContext *context, Expr *expr, Type *type) { insert_runtime_cast(expr, CAST_IDPTR, type); } static void cast_any_to_bool(SemaContext *context, Expr *expr, Type *type) { insert_runtime_cast(expr, CAST_ANYBOOL, type); }