Ignore:
Timestamp:
Jun 19, 2013 6:47:43 AM (11 years ago)
Author:
riza
Message:

Re #1680: Add initial support for Win64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_dump.c

    r4486 r4537  
    131131    if (len < 1 || len > end-p) { 
    132132        *p = '\0'; 
    133         return (p-buf); 
     133        return (unsigned)(p-buf); 
    134134    } 
    135135    p += len; 
     
    189189    if (len < 1 || len > end-p) { 
    190190        *p = '\0'; 
    191         return (p-buf); 
     191        return (unsigned)(p-buf); 
    192192    } 
    193193    p += len; 
     
    204204    if (len < 1 || len > end-p) { 
    205205        *p = '\0'; 
    206         return (p-buf); 
     206        return (unsigned)(p-buf); 
    207207    } 
    208208    p += len; 
    209209 
    210     return (p-buf); 
     210    return (unsigned)(p-buf); 
    211211} 
    212212 
     
    448448 
    449449        if (has_stat) { 
    450             len = dump_media_stat(indent, p, end-p, &stat, 
     450            len = dump_media_stat(indent, p, (unsigned)(end-p), &stat, 
    451451                                  rx_info, tx_info); 
    452452            p += len; 
     
    949949    print_call(indent, call_id, tmp, sizeof(tmp)); 
    950950 
    951     len = pj_ansi_strlen(tmp); 
     951    len = (int)pj_ansi_strlen(tmp); 
    952952    pj_ansi_strcpy(buffer, tmp); 
    953953 
     
    994994    /* Dump session statistics */ 
    995995    if (with_media) 
    996         dump_media_session(indent, p, end-p, call); 
     996        dump_media_session(indent, p, (unsigned)(end-p), call); 
    997997 
    998998    pjsip_dlg_dec_lock(dlg); 
Note: See TracChangeset for help on using the changeset viewer.