aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/rndunix.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/rndunix.c')
-rw-r--r--cipher/rndunix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/rndunix.c b/cipher/rndunix.c
index 87e832785..a46b5ec97 100644
--- a/cipher/rndunix.c
+++ b/cipher/rndunix.c
@@ -857,9 +857,9 @@ const char * const gnupgext_version = "RNDUNIX ($Revision$)";
static struct {
int class;
int version;
- void *func;
+ int (*func)(void);
} func_table[] = {
- { 40, 1, gather_random },
+ { 40, 1, (int (*)(void))gather_random },
};
/****************