From 736d2b53e029c5c0ede9d66d737584b931147e60 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 3 Sep 2019 23:07:40 +0200 Subject: [PATCH] :shirt: Fix compiler warning --- src/oo/switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oo/switch.c b/src/oo/switch.c index 768f5fdb..3d8dc38e 100644 --- a/src/oo/switch.c +++ b/src/oo/switch.c @@ -176,7 +176,7 @@ ANN m_bool switch_pop(const Env env) { ANN m_bool switch_end(const Env env, const loc_t pos) { const Switch sw = (Switch)_scope_pop(env->scope->swi); - map_remove(&env->scope->swi->map, sw->info); + map_remove(&env->scope->swi->map, (vtype)sw->info); const m_bool empty = !VLEN(sw->cases) && !VLEN(&sw->exp); free_switch(env->gwion->mp, sw); if(empty) -- 2.43.0