Changeset 1235 for pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c
- Timestamp:
- Apr 30, 2007 9:03:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c
r974 r1235 329 329 pj_ssize_t bytes_read) 330 330 { 331 unsigned *p_packet_cnt = pj_ioqueue_get_user_data(key);331 unsigned *p_packet_cnt = (unsigned*) pj_ioqueue_get_user_data(key); 332 332 333 333 PJ_UNUSED_ARG(op_key); … … 511 511 return PJ_ENOMEM; 512 512 513 key = pj_pool_alloc(pool, MAX*sizeof(pj_ioqueue_key_t*)); 514 sock = pj_pool_alloc(pool, MAX*sizeof(pj_sock_t)); 513 key = (pj_ioqueue_key_t**) 514 pj_pool_alloc(pool, MAX*sizeof(pj_ioqueue_key_t*)); 515 sock = (pj_sock_t*) pj_pool_alloc(pool, MAX*sizeof(pj_sock_t)); 515 516 516 517 /* Create IOQueue */
Note: See TracChangeset
for help on using the changeset viewer.