cpukit/libcrypt/misc.c: Reverse order of statements in ifdef

This commit is contained in:
Joel Sherrill
2015-03-10 09:10:39 -05:00
parent f244bfc5f8
commit b05549fc72

View File

@@ -53,9 +53,9 @@ b64_from_24bit(uint8_t B2, uint8_t B1, uint8_t B0, int n, int *buflen, char **cp
int i;
#if defined(__rtems__)
w = (B2 << 16) | (B1 << 8) | B0;
#else
w = ((uint32_t)B2 << 16) | ((uint32_t)B1 << 8) | B0;
#else
w = (B2 << 16) | (B1 << 8) | B0;
#endif
for (i = 0; i < n; i++) {
**cp = itoa64[w&0x3f];