[Freeswitch-svn] [commit] r12749 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/msg
FreeSWITCH SVN
mikej at freeswitch.org
Tue Mar 24 08:45:13 PDT 2009
Author: mikej
Date: Tue Mar 24 10:45:13 2009
New Revision: 12749
Log:
Wed Mar 11 11:50:44 CDT 2009 Pekka Pessi <first.last at nokia.com>
* msg_mime.c: explicit cast when assigning to mp_len
Ignore-this: ca5b8291eb84d8b166ab7f659bcf69f8
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/msg/msg_mime.c
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Tue Mar 24 10:45:13 2009
@@ -1 +1 @@
-Tue Mar 24 10:43:39 CDT 2009
+Tue Mar 24 10:44:15 CDT 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/msg/msg_mime.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/msg/msg_mime.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/msg/msg_mime.c Tue Mar 24 10:45:13 2009
@@ -513,7 +513,7 @@
for (mp = all; mp; mp = mp->mp_next) {
mp->mp_data = boundary;
- mp->mp_len = blen;
+ mp->mp_len = (unsigned)blen; /* XXX */
assert(mp->mp_payload || mp->mp_separator);
@@ -613,7 +613,8 @@
for (; mp; mp = mp->mp_next) {
if (mp->mp_data == NULL) {
- mp->mp_data = boundary, mp->mp_len = blen;
+ mp->mp_data = boundary;
+ mp->mp_len = (unsigned)blen; /* XXX */
} else {
if (mp->mp_len < 3)
return -1;
More information about the Freeswitch-svn
mailing list