Mercurial > pidgin.yaz
diff src/protocols/msn/slplink.c @ 11164:93663df88ec4
[gaim-migrate @ 13265]
Get rid of the last of the gcc4 warnings in MSN. Rooaarrrrr
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 29 Jul 2005 01:38:12 +0000 |
parents | 888d4c328be5 |
children | 95fa774d216d |
line wrap: on
line diff
--- a/src/protocols/msn/slplink.c Fri Jul 29 01:22:06 2005 +0000 +++ b/src/protocols/msn/slplink.c Fri Jul 29 01:38:12 2005 +0000 @@ -664,7 +664,7 @@ #define MAX_FILE_NAME_LEN 0x226 -static unsigned char * +static char * gen_context(const char *file_name, const char *file_path) { struct stat st; @@ -765,14 +765,14 @@ const MsnObject *obj) { MsnSlpCall *slpcall; - unsigned char *msnobj_data; - unsigned char *msnobj_base64; + char *msnobj_data; + char *msnobj_base64; g_return_if_fail(slplink != NULL); g_return_if_fail(obj != NULL); msnobj_data = msn_object_to_string(obj); - msnobj_base64 = gaim_base64_encode(msnobj_data, strlen(msnobj_data)); + msnobj_base64 = gaim_base64_encode((const guchar *)msnobj_data, strlen(msnobj_data)); g_free(msnobj_data); slpcall = msn_slp_call_new(slplink);