aboutsummaryrefslogtreecommitdiff
path: root/siphash.h
diff options
context:
space:
mode:
authorJean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>2021-03-12 08:30:41 +0100
committerGitHub <noreply@github.com>2021-03-12 08:30:41 +0100
commita774642c9c720bea3e9a07e35c6bde36759dca9d (patch)
tree97332feec6ad9440bc517ef49173d0dae2505a37 /siphash.h
parentMerge pull request #34 from veorq/moretest (diff)
parentconsts (diff)
downloadsiphash-a774642c9c720bea3e9a07e35c6bde36759dca9d.tar.gz
siphash-a774642c9c720bea3e9a07e35c6bde36759dca9d.tar.xz
Merge pull request #35 from veorq/uint8t2uchar
address potential strict aliasing violation
Diffstat (limited to 'siphash.h')
-rw-r--r--siphash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/siphash.h b/siphash.h
index 851b326..3fbd378 100644
--- a/siphash.h
+++ b/siphash.h
@@ -18,5 +18,5 @@
#include <inttypes.h>
#include <string.h>
-int siphash(const uint8_t *in, const size_t inlen, const uint8_t *k,
- uint8_t *out, const size_t outlen);
+int siphash(const void *in, const size_t inlen, const void *k, uint8_t *out,
+ const size_t outlen);