common: Fix packed_bcd_to_uint32() computation.

This commit is contained in:
Solomon Peachy 2020-01-16 08:03:23 -05:00
parent de7bb4655b
commit af4fde17e0
1 changed files with 1 additions and 1 deletions

View File

@ -1674,7 +1674,7 @@ uint32_t packed_bcd_to_uint32(const char *in, int len)
while (len--) {
out *= 10;
out += (*in >> 4);
out += ((*in >> 4) & 0xf);
out *= 10;
out += (*in & 0xf);
in++;