summaryrefslogtreecommitdiffstats
path: root/src/havege.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/havege.c')
-rw-r--r--src/havege.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/havege.c b/src/havege.c
index a1dc0a6..c897113 100644
--- a/src/havege.c
+++ b/src/havege.c
@@ -114,7 +114,7 @@ H_PTR havege_create( /* RETURN: app state */
n = 1;
if (0 == sz)
sz = DEFAULT_BUFSZ;
- anchor = (H_SETUP *)calloc(sizeof(H_SETUP),1);
+ anchor = (H_SETUP *)calloc(1, sizeof(H_SETUP));
if (NULL==anchor)
return h;
h = &anchor->info;