# HG changeset patch # User Mark Doliner # Date 1123467717 0 # Node ID ff48840297081ef28f52964081c90a1c124d6d5e # Parent 07dc8c6a359fee52569a3112b973b03636b9c058 [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 diff -r 07dc8c6a359f -r ff4884029708 plugins/perl/common/Cipher.xs --- 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 diff -r 07dc8c6a359f -r ff4884029708 plugins/perl/common/FT.xs --- 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_ diff -r 07dc8c6a359f -r ff4884029708 plugins/perl/common/typemap --- 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 diff -r 07dc8c6a359f -r ff4884029708 src/protocols/gg/libgg.c --- 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"); diff -r 07dc8c6a359f -r ff4884029708 src/protocols/gg/libgg.h --- 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 */