projects
/
libradsec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f4c1aa
)
Cast to avoid warning.
author
Linus Nordberg
<linus@nordu.net>
Tue, 27 Sep 2011 17:43:59 +0000
(19:43 +0200)
committer
Linus Nordberg
<linus@nordu.net>
Tue, 27 Sep 2011 17:43:59 +0000
(19:43 +0200)
fticks.c
patch
|
blob
|
history
diff --git
a/fticks.c
b/fticks.c
index
8d41c4f
..
ee83b91
100644
(file)
--- 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;