changeset 11202:ff4884029708

[gaim-migrate @ 13330] Some compile warning fixes. It's very possible the perl warnings were caused by some of my changes to the core last week committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 08 Aug 2005 02:21:57 +0000
parents 07dc8c6a359f
children 430b2a8cccb5
files plugins/perl/common/Cipher.xs plugins/perl/common/FT.xs plugins/perl/common/typemap src/protocols/gg/libgg.c src/protocols/gg/libgg.h
diffstat 5 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/perl/common/Cipher.xs	Mon Aug 08 02:18:16 2005 +0000
+++ b/plugins/perl/common/Cipher.xs	Mon Aug 08 02:21:57 2005 +0000
@@ -111,7 +111,7 @@
 gaim_cipher_context_digest_to_str(context, in_len, digest_s, out_len)
 	Gaim::Cipher::Context context
 	size_t in_len
-	guchar &digest_s
+	gchar &digest_s
 	size_t &out_len
 
 gint 
--- a/plugins/perl/common/FT.xs	Mon Aug 08 02:18:16 2005 +0000
+++ b/plugins/perl/common/FT.xs	Mon Aug 08 02:21:57 2005 +0000
@@ -90,7 +90,7 @@
 ssize_t 
 gaim_xfer_read(xfer, buffer)
 	Gaim::Xfer xfer
-	char **buffer
+	guchar **buffer
 
 void 
 gaim_xfer_ref(xfer)
@@ -145,7 +145,7 @@
 ssize_t 
 gaim_xfer_write(xfer, buffer, size)
 	Gaim::Xfer xfer
-	const char *buffer
+	const guchar *buffer
 	size_t size
 
 MODULE = Gaim::Xfer  PACKAGE = Gaim::Xfers  PREFIX = gaim_xfers_
--- a/plugins/perl/common/typemap	Mon Aug 08 02:18:16 2005 +0000
+++ b/plugins/perl/common/typemap	Mon Aug 08 02:21:57 2005 +0000
@@ -14,9 +14,11 @@
 const char *           			T_PV
 const char **				T_PTR
 char **					T_PTR
+gchar					T_IV
 gchar *					T_PV
 guchar					T_IV
 guchar *				T_PTR
+guchar **				T_PTR
 const guchar *				T_PV
 char *					T_PV
 int *					T_PTR
--- a/src/protocols/gg/libgg.c	Mon Aug 08 02:18:16 2005 +0000
+++ b/src/protocols/gg/libgg.c	Mon Aug 08 02:21:57 2005 +0000
@@ -1452,7 +1452,7 @@
 			struct gg_welcome *w;
 			struct gg_login60 l;
 			unsigned int hash;
-			unsigned char *password = sess->password;
+			char *password = sess->password;
 
 			gg_debug(GG_DEBUG_MISC, "== GG_STATE_READING_KEY\n");
 
--- a/src/protocols/gg/libgg.h	Mon Aug 08 02:18:16 2005 +0000
+++ b/src/protocols/gg/libgg.h	Mon Aug 08 02:21:57 2005 +0000
@@ -58,7 +58,7 @@
 	int client_port;	/* port, na którym klient słucha */
 
 	uin_t uin;		/* numerek klienta */
-	unsigned char *password;		/* i jego hasło. zwalniane automagicznie */
+	char *password;		/* i jego hasło. zwalniane automagicznie */
         
 	int initial_status;	/* początkowy stan klienta */