/pidgin/main: 28750ae09061: fix warning with gnutls 2.12

Daniel Atallah datallah at pidgin.im
Fri Jul 12 14:20:33 EDT 2013


Changeset: 28750ae0906164a9568217c8249e1de1050a1adb
Author:	 Daniel Atallah <datallah at pidgin.im>
Date:	 2013-07-11 19:18 -0400
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/28750ae09061

Description:

fix warning with gnutls 2.12

diffstat:

 libpurple/ciphers/aes.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/ciphers/aes.c b/libpurple/ciphers/aes.c
--- a/libpurple/ciphers/aes.c
+++ b/libpurple/ciphers/aes.c
@@ -241,7 +241,7 @@ purple_aes_encrypt_gnutls(const guchar *
 	if (handle == NULL)
 		return FALSE;
 
-	ret = gnutls_cipher_encrypt2(handle, input, len, output, len);
+	ret = gnutls_cipher_encrypt2(handle, (void *)input, len, output, len);
 	gnutls_cipher_deinit(handle);
 
 	if (ret != 0) {



More information about the Commits mailing list