# HG changeset patch # User Mark Doliner # Date 1123734623 0 # Node ID 67f874fadb578d91551431a2c7a6c3ea26f8f8df # Parent ea2ef55b3a05e7e0c1a528f48841cc3eb73abf8c [gaim-migrate @ 13369] Minor warning fixes committer: Tailor Script diff -r ea2ef55b3a05 -r 67f874fadb57 src/protocols/gg/common.c --- 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; diff -r ea2ef55b3a05 -r 67f874fadb57 src/protocols/gg/libgg.c --- 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; diff -r ea2ef55b3a05 -r 67f874fadb57 src/protocols/gg/libgg.h --- 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 diff -r ea2ef55b3a05 -r 67f874fadb57 src/stun.c --- 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;