diff options
-rw-r--r-- | lib/base64.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/base64.c b/lib/base64.c index 7ff8553f2..4af1d72e7 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -65,9 +65,11 @@ static void decodeQuantum(unsigned char *dest, const char *src) x = (x << 6); } - dest[2] = (unsigned char)(x & 255); x >>= 8; - dest[1] = (unsigned char)(x & 255); x >>= 8; - dest[0] = (unsigned char)(x & 255); x >>= 8; + dest[2] = (unsigned char)(x & 255); + x >>= 8; + dest[1] = (unsigned char)(x & 255); + x >>= 8; + dest[0] = (unsigned char)(x & 255); } /* |