Ignore:
Timestamp:
Dec 2, 2007 3:36:46 PM (15 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/ioqueue_symbian.cpp

    r1601 r1608  
    702702        PJ_ASSERT_RETURN(addr && addrlen && *addrlen, PJ_EINVAL); 
    703703        if (sock->GetAf() == PJ_AF_INET) { 
    704             PJ_ASSERT_RETURN(*addrlen >= sizeof(pj_sockaddr_in), PJ_EINVAL); 
     704            PJ_ASSERT_RETURN(*addrlen>=(int)sizeof(pj_sockaddr_in), PJ_EINVAL); 
    705705        } else if (sock->GetAf() == PJ_AF_INET6) { 
    706             PJ_ASSERT_RETURN(*addrlen >= sizeof(pj_sockaddr_in6), PJ_EINVAL); 
     706            PJ_ASSERT_RETURN(*addrlen>=(int)sizeof(pj_sockaddr_in6), PJ_EINVAL); 
    707707        } 
    708708    } 
Note: See TracChangeset for help on using the changeset viewer.