From 033822b9ecee9507bb337b4f16069a25a88fcc3b Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 27 Sep 2011 19:43:59 +0200 Subject: [PATCH] Cast to avoid warning. --- fticks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.1.4