summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-09-27 19:43:59 +0200
committerLinus Nordberg <linus@nordu.net>2011-09-27 19:43:59 +0200
commit033822b9ecee9507bb337b4f16069a25a88fcc3b (patch)
treeba0c402d02e331cd68b23d340ada382959f6e7f9
parent7f4c1aa892a4f42748aa7c6bbd99f200ef7f8674 (diff)
Cast to avoid warning.
-rw-r--r--fticks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fticks.c b/fticks.c
index 8d41c4f..ee83b91 100644
--- a/fticks.c
+++ b/fticks.c
@@ -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;