* fix unrecognized print format specifier for int8/uint8 * use c++ static_cast instead of c cast style