changeset 11229:67f874fadb57

[gaim-migrate @ 13369] Minor warning fixes committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 11 Aug 2005 04:30:23 +0000
parents ea2ef55b3a05
children 11b43807d6a6
files src/protocols/gg/common.c src/protocols/gg/libgg.c src/protocols/gg/libgg.h src/stun.c
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/gg/common.c	Thu Aug 11 03:22:38 2005 +0000
+++ b/src/protocols/gg/common.c	Thu Aug 11 04:30:23 2005 +0000
@@ -306,7 +306,7 @@
  * manipulacjach własnego wpisu w katalogu publicznym.
  */
 
-int gg_http_hash(const unsigned char *email, const unsigned char *password)
+int gg_http_hash(const char *email, const char *password)
 {
 	unsigned int a, c;
 	int b, i;
--- a/src/protocols/gg/libgg.c	Thu Aug 11 03:22:38 2005 +0000
+++ b/src/protocols/gg/libgg.c	Thu Aug 11 04:30:23 2005 +0000
@@ -503,7 +503,7 @@
  *
  * hash.
  */
-unsigned int gg_login_hash(const unsigned char *password, unsigned int seed)
+unsigned int gg_login_hash(const char *password, unsigned int seed)
 {
 	unsigned int x, y, z;
 
--- a/src/protocols/gg/libgg.h	Thu Aug 11 03:22:38 2005 +0000
+++ b/src/protocols/gg/libgg.h	Thu Aug 11 04:30:23 2005 +0000
@@ -445,7 +445,7 @@
 void gg_read_line(int sock, char *buf, int length);
 void gg_chomp(char *line);
 char *gg_urlencode(const char *str);
-int gg_http_hash(const unsigned char *email, const unsigned char *password);
+int gg_http_hash(const char *email, const char *password);
 
 #define GG_APPMSG_HOST "appmsg.gadu-gadu.pl"
 #define GG_APPMSG_PORT 80
--- a/src/stun.c	Thu Aug 11 03:22:38 2005 +0000
+++ b/src/stun.c	Thu Aug 11 04:30:23 2005 +0000
@@ -148,7 +148,7 @@
 	}
 	incb = gaim_input_add(fd, GAIM_INPUT_READ, reply_cb, NULL);
 
-	char *ip = gaim_prefs_get_string("/core/network/stun_ip");
+	const char *ip = gaim_prefs_get_string("/core/network/stun_ip");
 	int port = gaim_prefs_get_int("/core/network/stun_port");
 	
 	if(port == 0 || ip == NULL || ip[0] == '\0') return NULL;