Commit 033822b9 authored by Linus Nordberg's avatar Linus Nordberg

Cast to avoid warning.

parent 7f4c1aa8
......@@ -145,7 +145,7 @@ fticks_hashmac(const uint8_t *in,
uint8_t *p = NULL;
int i;
in_copy = calloc(1, strlen(in) + 1);
in_copy = calloc(1, strlen((const char *) in) + 1);
if (in_copy == NULL)
return -ENOMEM;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment