2007-01-18 array subscript has type `char' array subscript has type `char' 配列の添え字にcharを使うのはNG。 使うならunsigned charを使う。