commit | c19c7694d21c2d5b2878954eac8bc55a9bd639e7 | [log] [tgz] |
---|---|---|
author | Michael Heimpold <michael.heimpold@i2se.com> | Tue Dec 18 14:52:12 2018 +0100 |
committer | Chris Ball <chris@printf.net> | Fri Oct 04 20:47:27 2019 -0400 |
tree | 87dfeaaf47009ec8a59a8192558ae039740492b8 | |
parent | de27fd97529437331451070c81b226a43507c0a1 [diff] |
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>