comparison src/protocols/msn/slpcall.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 fd6d96ef5c6d
comparison
equal deleted inserted replaced
11163:4cf257598691 11164:93663df88ec4
219 219
220 MsnSlpCall * 220 MsnSlpCall *
221 msn_slp_process_msg(MsnSlpLink *slplink, MsnSlpMessage *slpmsg) 221 msn_slp_process_msg(MsnSlpLink *slplink, MsnSlpMessage *slpmsg)
222 { 222 {
223 MsnSlpCall *slpcall; 223 MsnSlpCall *slpcall;
224 const char *body; 224 const guchar *body;
225 gsize body_len; 225 gsize body_len;
226 226
227 slpcall = NULL; 227 slpcall = NULL;
228 body = slpmsg->buffer; 228 body = slpmsg->buffer;
229 body_len = slpmsg->size; 229 body_len = slpmsg->size;
230 230
231 if (slpmsg->flags == 0x0) 231 if (slpmsg->flags == 0x0)
232 { 232 {
233 slpcall = msn_slp_sip_recv(slplink, body, body_len); 233 slpcall = msn_slp_sip_recv(slplink, (const char *)body, body_len);
234 } 234 }
235 else if (slpmsg->flags == 0x20 || slpmsg->flags == 0x1000030) 235 else if (slpmsg->flags == 0x20 || slpmsg->flags == 0x1000030)
236 { 236 {
237 slpcall = msn_slplink_find_slp_call_with_session_id(slplink, slpmsg->session_id); 237 slpcall = msn_slplink_find_slp_call_with_session_id(slplink, slpmsg->session_id);
238 238