From e0e60cb97e1e6cae2950f73977b01db49fd64332 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 11 Nov 2023 08:12:17 -0500 Subject: [PATCH] remove a cast from assignment to same type --- src/light.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/light.c b/src/light.c index 58aaed116..89a8d8baf 100644 --- a/src/light.c +++ b/src/light.c @@ -542,7 +542,7 @@ light_sources_sanity_check(void) if (!ls->id.a_monst) panic("insane light source: no id!"); if (ls->type == LS_OBJECT) { - otmp = (struct obj *) ls->id.a_obj; + otmp = ls->id.a_obj; auint = otmp->o_id; if (find_oid(auint) != otmp) panic("insane light source: can't find obj #%u!", auint);