Ignore:
Timestamp:
Dec 2, 2007 3:36:46 PM (17 years ago)
Author:
bennylp
Message:

More ticket #415: Added pj_sockaddr_get_len() and pj_inet_ntop2(), and fixed Symbian combilation warnings with gcce

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/sock_symbian.cpp

    r1601 r1608  
    525525 
    526526    PJ_ASSERT_RETURN(sock != 0, PJ_EINVAL); 
    527     PJ_ASSERT_RETURN(addr && len >= sizeof(pj_sockaddr_in), PJ_EINVAL); 
     527    PJ_ASSERT_RETURN(addr && len>=(int)sizeof(pj_sockaddr_in), PJ_EINVAL); 
    528528 
    529529    // Convert PJLIB's pj_sockaddr into Symbian's TInetAddr 
     
    676676 
    677677    // Only supports AF_INET for now 
    678     PJ_ASSERT_RETURN(tolen >= sizeof(pj_sockaddr_in), PJ_EINVAL); 
     678    PJ_ASSERT_RETURN(tolen>=(int)sizeof(pj_sockaddr_in), PJ_EINVAL); 
    679679 
    680680    TInetAddr inetAddr; 
Note: See TracChangeset for help on using the changeset viewer.