fix type code parser for unsigned short

type code of unsigned short is "S", not "C".
I think original code is copy-pasting typo.