changeset 19537:0eff4257d55b

Fix a couple compiler warnings: ssl-gnutls.c:194: warning: pointer targets in passing argument 1 of 'purple_base16_encode_chunked' differ in signedness ssl-gnutls.c:203: warning: pointer targets in passing argument 1 of 'purple_base16_encode_chunked' differ in signedness
author Richard Laager <rlaager@wiktel.com>
date Mon, 03 Sep 2007 01:07:47 +0000
parents a77432fe2f3b
children f96cceb75fbb
files libpurple/plugins/ssl/ssl-gnutls.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/ssl/ssl-gnutls.c	Thu Aug 30 00:09:47 2007 +0000
+++ b/libpurple/plugins/ssl/ssl-gnutls.c	Mon Sep 03 01:07:47 2007 +0000
@@ -191,7 +191,7 @@
 						      fpr_bin, &fpr_bin_sz);
 		      
 		      fpr_asc =
-			purple_base16_encode_chunked(fpr_bin,fpr_bin_sz);
+			purple_base16_encode_chunked((guchar *)fpr_bin, fpr_bin_sz);
 		      
 		      purple_debug_info("gnutls", 
 					"Lvl %d SHA1 fingerprint: %s\n",
@@ -199,8 +199,7 @@
 		      
 		      tsz=sizeof(tbuf);
 		      gnutls_x509_crt_get_serial(cert,tbuf,&tsz);
-		      tasc=
-			purple_base16_encode_chunked(tbuf, tsz);
+		      tasc = purple_base16_encode_chunked((guchar *)tbuf, tsz);
 		      purple_debug_info("gnutls",
 					"Serial: %s\n",
 					tasc);