# HG changeset patch # User Nathan Walp # Date 1103169054 0 # Node ID 088633feb8465d648765f8fdc2b445705cfb247c # Parent 00cd0c08bb04ef69f13dc5d10462b0bb451a8ab8 [gaim-migrate @ 11615] this makes gcc shut up about some warnings committer: Tailor Script diff -r 00cd0c08bb04 -r 088633feb846 src/protocols/gg/gg.c --- a/src/protocols/gg/gg.c Thu Dec 16 02:51:14 2004 +0000 +++ b/src/protocols/gg/gg.c Thu Dec 16 03:50:54 2004 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 11327 2004-11-19 03:46:15Z thekingant $ + * $Id: gg.c 11615 2004-12-16 03:50:54Z faceprint $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz * @@ -1512,7 +1512,7 @@ } #endif -static void agg_change_passwd(GaimConnection *gc, const char *old, const char *new) +static void agg_change_passwd(GaimConnection *gc, const unsigned char *old, const unsigned char *new) { struct agg_http *hpass = g_new0(struct agg_http, 1); gchar *u = gg_urlencode(gaim_account_get_username(gc->account)); diff -r 00cd0c08bb04 -r 088633feb846 src/protocols/gg/libgg.c --- a/src/protocols/gg/libgg.c Thu Dec 16 02:51:14 2004 +0000 +++ b/src/protocols/gg/libgg.c Thu Dec 16 03:50:54 2004 +0000 @@ -1,4 +1,4 @@ -/* $Id: libgg.c 11554 2004-12-11 00:06:06Z thekingant $ */ +/* $Id: libgg.c 11615 2004-12-16 03:50:54Z faceprint $ */ /* * (C) Copyright 2001 Wojtek Kaniewski , @@ -70,7 +70,7 @@ #ifdef __GNUC__ __attribute__ ((unused)) #endif -= "$Id: libgg.c 11554 2004-12-11 00:06:06Z thekingant $"; += "$Id: libgg.c 11615 2004-12-16 03:50:54Z faceprint $"; #endif @@ -1461,7 +1461,7 @@ struct gg_welcome *w; struct gg_login60 l; unsigned int hash; - char *password = sess->password; + unsigned char *password = sess->password; gg_debug(GG_DEBUG_MISC, "== GG_STATE_READING_KEY\n"); diff -r 00cd0c08bb04 -r 088633feb846 src/protocols/gg/libgg.h --- a/src/protocols/gg/libgg.h Thu Dec 16 02:51:14 2004 +0000 +++ b/src/protocols/gg/libgg.h Thu Dec 16 03:50:54 2004 +0000 @@ -1,4 +1,4 @@ -/* $Id: libgg.h 11554 2004-12-11 00:06:06Z thekingant $ */ +/* $Id: libgg.h 11615 2004-12-16 03:50:54Z faceprint $ */ /* * (C) Copyright 2001 Wojtek Kaniewski , @@ -60,7 +60,7 @@ int client_port; /* port, na którym klient słucha */ uin_t uin; /* numerek klienta */ - char *password; /* i jego hasło. zwalniane automagicznie */ + unsigned char *password; /* i jego hasło. zwalniane automagicznie */ int initial_status; /* pocz±tkowy stan klienta */ diff -r 00cd0c08bb04 -r 088633feb846 src/protocols/irc/dcc_send.c --- a/src/protocols/irc/dcc_send.c Thu Dec 16 02:51:14 2004 +0000 +++ b/src/protocols/irc/dcc_send.c Thu Dec 16 03:50:54 2004 +0000 @@ -194,7 +194,7 @@ xd->rxlen -= 4; if (xd->rxlen) { - char *tmp = g_memdup(xd->rxqueue + 4, xd->rxlen); + unsigned char *tmp = g_memdup(xd->rxqueue + 4, xd->rxlen); g_free(xd->rxqueue); xd->rxqueue = tmp; } else { diff -r 00cd0c08bb04 -r 088633feb846 src/protocols/msn/directconn.c --- a/src/protocols/msn/directconn.c Thu Dec 16 02:51:14 2004 +0000 +++ b/src/protocols/msn/directconn.c Thu Dec 16 03:50:54 2004 +0000 @@ -374,7 +374,7 @@ else { struct sockaddr_in client_addr; - int client; + unsigned int client; fd = accept (source, (struct sockaddr *)&client_addr, &client); } diff -r 00cd0c08bb04 -r 088633feb846 src/protocols/msn/slplink.c --- a/src/protocols/msn/slplink.c Thu Dec 16 02:51:14 2004 +0000 +++ b/src/protocols/msn/slplink.c Thu Dec 16 03:50:54 2004 +0000 @@ -631,14 +631,14 @@ #define MAX_FILE_NAME_LEN 0x226 -static char * +static unsigned char * gen_context(const char *file_name, const char *file_path) { struct stat st; gsize size = 0; MsnContextHeader header; gchar *u8 = NULL; - gchar *base, *n; + guchar *base, *n; gunichar2 *uni = NULL; glong currentChar = 0; glong uni_len = 0; @@ -732,8 +732,8 @@ const MsnObject *obj) { MsnSlpCall *slpcall; - char *msnobj_data; - char *msnobj_base64; + unsigned char *msnobj_data; + unsigned char *msnobj_base64; g_return_if_fail(slplink != NULL); g_return_if_fail(obj != NULL); diff -r 00cd0c08bb04 -r 088633feb846 src/protocols/msn/user.c --- a/src/protocols/msn/user.c Thu Dec 16 02:51:14 2004 +0000 +++ b/src/protocols/msn/user.c Thu Dec 16 03:50:54 2004 +0000 @@ -136,7 +136,7 @@ unsigned char *buf; SHA_CTX ctx; gsize len; - char *base64; + unsigned char *base64; unsigned char digest[20]; if (msnobj == NULL)