changed condition type for switch/case statement: now used EQU_PTR type