let enabled be a number (cppcheck)

Its used as a number im other places, so let it be a number over here, too.