From f0b7627b7d88c1d5bb484961377114b210c8dd53 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 13 Jul 2014 12:20:19 +0300 Subject: Fix code style. --- src/utils/base64.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/utils/base64.cpp') diff --git a/src/utils/base64.cpp b/src/utils/base64.cpp index feed37066..bb69539e1 100644 --- a/src/utils/base64.cpp +++ b/src/utils/base64.cpp @@ -130,15 +130,15 @@ unsigned char *php3_base64_decode(const unsigned char *restrict const string, switch (i % 4) { case 0: - result[j] = static_cast(ch << 2); + result[j] = static_cast(ch << 2U); break; case 1: - result[j++] |= static_cast(ch >> 4); - result[j] = static_cast((ch & 0x0f) << 4); + result[j++] |= static_cast(ch >> 4U); + result[j] = static_cast((ch & 0x0f) << 4U); break; case 2: - result[j++] |= static_cast(ch >>2); - result[j] = static_cast((ch & 0x03) << 6); + result[j++] |= static_cast(ch >>2U); + result[j] = static_cast((ch & 0x03) << 6U); break; case 3: result[j++] |= static_cast(ch); -- cgit v1.2.3-60-g2f50