Redundant type decleration for in charToInt definition