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/pjnath/src/pjnath/turn_sock.c

    r4360 r4537  
    541541 
    542542    if (turn_sock->conn_type == PJ_TURN_TP_UDP) 
    543         return bufsize; 
     543        return (unsigned)bufsize; 
    544544 
    545545    /* Quickly check if this is STUN message, by checking the first two bits and 
     
    551551    if (is_stun) { 
    552552        pj_size_t msg_len = GETVAL16H((const pj_uint8_t*)buf, 2); 
    553         return (msg_len+20 <= bufsize) ? msg_len+20 : 0; 
     553        return (unsigned)((msg_len+20 <= bufsize) ? msg_len+20 : 0); 
    554554    } else { 
    555555        /* This must be ChannelData. */ 
Note: See TracChangeset for help on using the changeset viewer.