From a814e3c0d4c110e63f8efd665c7c5ba124e79ad3 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 22 Nov 2015 13:27:14 +0100 Subject: added cast to silence gcc warning --- lib/nettle/cipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/nettle') diff --git a/lib/nettle/cipher.c b/lib/nettle/cipher.c index 5e8dbeabfa..602f5c72b7 100644 --- a/lib/nettle/cipher.c +++ b/lib/nettle/cipher.c @@ -432,7 +432,7 @@ static const struct nettle_cipher_st builtin_ciphers[] = { .ctx_size = sizeof(struct arcfour_ctx), .encrypt = _stream_encrypt, .decrypt = _stream_encrypt, - .gen_set_key = arcfour_set_key, + .gen_set_key = (gen_setkey_func)arcfour_set_key, .set_encrypt_key = (nettle_set_key_func*)arcfour128_set_key, .set_decrypt_key = (nettle_set_key_func*)arcfour128_set_key, }, -- cgit v1.2.1