Changeset 1235 for pjproject/trunk/pjlib/src/pjlib-test/ioq_unreg.c
- Timestamp:
- Apr 30, 2007 9:03:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/ioq_unreg.c
r974 r1235 124 124 static int worker_thread(void *arg) 125 125 { 126 pj_ioqueue_t *ioqueue = arg;126 pj_ioqueue_t *ioqueue = (pj_ioqueue_t*) arg; 127 127 128 128 while (!thread_quitting) { … … 211 211 /* Initialize test data */ 212 212 sock_data.pool = pj_pool_create(mem, "sd", 1000, 1000, NULL); 213 sock_data.buffer = pj_pool_alloc(sock_data.pool, 128);213 sock_data.buffer = (char*) pj_pool_alloc(sock_data.pool, 128); 214 214 sock_data.bufsize = 128; 215 sock_data.op_key = pj_pool_alloc(sock_data.pool, 215 sock_data.op_key = (pj_ioqueue_op_key_t*) 216 pj_pool_alloc(sock_data.pool, 216 217 sizeof(*sock_data.op_key)); 217 218 sock_data.received = 0;
Note: See TracChangeset
for help on using the changeset viewer.