mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-12-22 12:31:07 +00:00
pacify autoindenters
This commit is contained in:
parent
49e46f74b1
commit
541d65a3cc
2 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ base32_encode(const uint8_t *in, size_t ilen, char *out, size_t *olen)
|
||||||
bits |= (uint64_t)in[1] << 24;
|
bits |= (uint64_t)in[1] << 24;
|
||||||
case 1:
|
case 1:
|
||||||
bits |= (uint64_t)in[0] << 32;
|
bits |= (uint64_t)in[0] << 32;
|
||||||
CRYB_NO_DEFAULT_CASE
|
CRYB_NO_DEFAULT_CASE;
|
||||||
}
|
}
|
||||||
*out++ = b32enc[bits >> 35 & 0x1f];
|
*out++ = b32enc[bits >> 35 & 0x1f];
|
||||||
*out++ = b32enc[bits >> 30 & 0x1f];
|
*out++ = b32enc[bits >> 30 & 0x1f];
|
||||||
|
|
|
@ -114,7 +114,7 @@ base64_encode(const uint8_t *in, size_t ilen, char *out, size_t *olen)
|
||||||
bits |= (uint32_t)in[1] << 8;
|
bits |= (uint32_t)in[1] << 8;
|
||||||
case 1:
|
case 1:
|
||||||
bits |= (uint32_t)in[0] << 16;
|
bits |= (uint32_t)in[0] << 16;
|
||||||
CRYB_NO_DEFAULT_CASE
|
CRYB_NO_DEFAULT_CASE;
|
||||||
}
|
}
|
||||||
*out++ = b64enc[bits >> 18 & 0x3f];
|
*out++ = b64enc[bits >> 18 & 0x3f];
|
||||||
*out++ = b64enc[bits >> 12 & 0x3f];
|
*out++ = b64enc[bits >> 12 & 0x3f];
|
||||||
|
|
Loading…
Reference in a new issue