Skip to content

Commit ec8cee0

Browse files
committed
Remove redundant C-style casts
1 parent ae9a054 commit ec8cee0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/esp8266/core_esp8266_wiring_digital.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ void ICACHE_RAM_ATTR interrupt_handler(void*)
180180
static void cleanupFunctional(void* arg)
181181
{
182182
ArgStructure* localArg = (ArgStructure*)arg;
183-
delete (FunctionInfo*)localArg->functionInfo;
184-
delete (InterruptInfo*)localArg->interruptInfo;
183+
delete localArg->interruptInfo;
184+
delete localArg->functionInfo;
185185
delete localArg;
186186
}
187187

0 commit comments

Comments
 (0)