diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-13 23:18:35 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-10-13 23:18:35 +0200 |
commit | 5e77c371aa75bcc9e7af2acfdd93f670fda8a3f6 (patch) | |
tree | ed6b5c5ae30a8d204050720dd58e5e1938ab6e2a /halfsiphash.c | |
parent | Merge pull request #36 from themaxdavitt/themaxdavitt-patch-1 (diff) | |
download | siphash-5e77c371aa75bcc9e7af2acfdd93f670fda8a3f6.tar.gz siphash-5e77c371aa75bcc9e7af2acfdd93f670fda8a3f6.tar.xz |
-Wimplicit-fallthrough=4 compliance
Diffstat (limited to '')
-rw-r--r-- | halfsiphash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/halfsiphash.c b/halfsiphash.c index 652f3cc..5da4425 100644 --- a/halfsiphash.c +++ b/halfsiphash.c @@ -109,8 +109,10 @@ int halfsiphash(const void *in, const size_t inlen, const void *k, uint8_t *out, switch (left) { case 3: b |= ((uint32_t)ni[2]) << 16; + /* FALLTHRU */ case 2: b |= ((uint32_t)ni[1]) << 8; + /* FALLTHRU */ case 1: b |= ((uint32_t)ni[0]); break; |