Wed Mar 11 11:50:44 CDT 2009 Pekka Pessi <first.last@nokia.com>

* msg_mime.c: explicit cast when assigning to mp_len
  Ignore-this: ca5b8291eb84d8b166ab7f659bcf69f8



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12749 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-03-24 15:45:13 +00:00
parent 4d643bccc1
commit 52f03208c9
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
Tue Mar 24 10:43:39 CDT 2009
Tue Mar 24 10:44:15 CDT 2009

View File

@ -513,7 +513,7 @@ msg_multipart_t *msg_multipart_parse(su_home_t *home,
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 @@ int msg_multipart_complete(su_home_t *home,
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;