fixed pointer type to match mruby api

char => uint8_t