Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
11163:4cf257598691 | 11164:93663df88ec4 |
---|---|
662 guint32 unk3; | 662 guint32 unk3; |
663 } MsnContextHeader; | 663 } MsnContextHeader; |
664 | 664 |
665 #define MAX_FILE_NAME_LEN 0x226 | 665 #define MAX_FILE_NAME_LEN 0x226 |
666 | 666 |
667 static unsigned char * | 667 static char * |
668 gen_context(const char *file_name, const char *file_path) | 668 gen_context(const char *file_name, const char *file_path) |
669 { | 669 { |
670 struct stat st; | 670 struct stat st; |
671 gsize size = 0; | 671 gsize size = 0; |
672 MsnContextHeader header; | 672 MsnContextHeader header; |
763 MsnSlpCb cb, | 763 MsnSlpCb cb, |
764 MsnSlpEndCb end_cb, | 764 MsnSlpEndCb end_cb, |
765 const MsnObject *obj) | 765 const MsnObject *obj) |
766 { | 766 { |
767 MsnSlpCall *slpcall; | 767 MsnSlpCall *slpcall; |
768 unsigned char *msnobj_data; | 768 char *msnobj_data; |
769 unsigned char *msnobj_base64; | 769 char *msnobj_base64; |
770 | 770 |
771 g_return_if_fail(slplink != NULL); | 771 g_return_if_fail(slplink != NULL); |
772 g_return_if_fail(obj != NULL); | 772 g_return_if_fail(obj != NULL); |
773 | 773 |
774 msnobj_data = msn_object_to_string(obj); | 774 msnobj_data = msn_object_to_string(obj); |
775 msnobj_base64 = gaim_base64_encode(msnobj_data, strlen(msnobj_data)); | 775 msnobj_base64 = gaim_base64_encode((const guchar *)msnobj_data, strlen(msnobj_data)); |
776 g_free(msnobj_data); | 776 g_free(msnobj_data); |
777 | 777 |
778 slpcall = msn_slp_call_new(slplink); | 778 slpcall = msn_slp_call_new(slplink); |
779 msn_slp_call_init(slpcall, MSN_SLPCALL_ANY); | 779 msn_slp_call_init(slpcall, MSN_SLPCALL_ANY); |
780 | 780 |