diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-11 16:33:37 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-11 16:33:37 +0200 |
commit | 2c5b81a377f1003964a88e51d1732930c250bd3c (patch) | |
tree | d43cd4642758ef8617c069e15619de321243cb67 /b32.c | |
parent | 65a717130da9defdbbb57928744381f3a197112b (diff) |
Make things symmetrical
Diffstat (limited to 'b32.c')
-rw-r--r-- | b32.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ b32toa(char *dst, const char *src, size_t len) dst[i * 5 / 8 + 1] = (vs[1] << 6) | (vs[2] << 1) | (vs[3] >> 4); dst[i * 5 / 8 + 2] = (vs[3] << 4) | (vs[4] >> 1); dst[i * 5 / 8 + 3] = (vs[4] << 7) | (vs[5] << 2) | (vs[6] >> 3); - dst[i * 5 / 8 + 4] = (vs[6] << 5) | vs[7]; + dst[i * 5 / 8 + 4] = (vs[6] << 5) | (vs[7] >> 0); } return true; |