Fix parsing of character in to_binstr()
When a hex-digit > 'a' or 'A' is read, we have to add an offset of 10 to access the valid symbol in our mapping table. Signed-off-by:Michael Heimpold <michael.heimpold@i2se.com> Cc: Michael Heimpold <mhei@heimpold.de> Reviewed-by:
Avri Altman <avri.altman@wdc.com> Signed-off-by:
Chris Ball <chris@printf.net>
Please register or sign in to comment