aboutsummaryrefslogtreecommitdiffstats
path: root/marshal.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--marshal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index ed0cce5..ba00af2 100644
--- a/marshal.c
+++ b/marshal.c
@@ -10,8 +10,9 @@
* @return The number of bytes marshalled to `buf`
*/
size_t
-libsha2_marshal(const struct libsha2_state *restrict state, char *restrict buf)
+libsha2_marshal(const struct libsha2_state *restrict state, void *restrict buf_)
{
+ char *restrict buf = buf_;
size_t off = 0;
if (buf)