aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_state_unmarshal_skip.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkeccak_state_unmarshal_skip.c')
-rw-r--r--libkeccak_state_unmarshal_skip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkeccak_state_unmarshal_skip.c b/libkeccak_state_unmarshal_skip.c
index b8c244c..34a898a 100644
--- a/libkeccak_state_unmarshal_skip.c
+++ b/libkeccak_state_unmarshal_skip.c
@@ -12,7 +12,7 @@
size_t
libkeccak_state_unmarshal_skip(const void *restrict data_)
{
- const char *restrict data = data_;
+ const unsigned char *restrict data = data_;
data += (7 * sizeof(long int) + 26 * sizeof(int64_t)) / sizeof(char);
return sizeof(struct libkeccak_state) - sizeof(char *) + *(const size_t *)data * sizeof(char);
}