diff options
Diffstat (limited to 'cipher/sha1.c')
-rw-r--r-- | cipher/sha1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cipher/sha1.c b/cipher/sha1.c index f5dd59d91..77749e4ee 100644 --- a/cipher/sha1.c +++ b/cipher/sha1.c @@ -398,7 +398,11 @@ gnupgext_enum_func( int what, int *sequence, int *class, int *vers ) ret = &func_table[i].value; break; default: +#ifndef __riscos__ ret = func_table[i].func; +#else /* __riscos__ */ + ret = (void *) func_table[i].func; +#endif /* __riscos__ */ break; } i++; |