Changeset 1266 for pjproject/trunk/pjlib/src/pj/sock_bsd.c
- Timestamp:
- May 11, 2007 3:14:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/sock_bsd.c
r974 r1266 386 386 PJ_CHECK_STACK(); 387 387 388 PJ_ASSERT_RETURN(addr && len >= sizeof(struct sockaddr_in), PJ_EINVAL);388 PJ_ASSERT_RETURN(addr && len >= (int)sizeof(struct sockaddr_in), PJ_EINVAL); 389 389 390 390 if (bind(sock, (struct sockaddr*)addr, len) != 0)
Note: See TracChangeset
for help on using the changeset viewer.