Ignore:
Timestamp:
Jun 19, 2013 6:47:43 AM (11 years ago)
Author:
riza
Message:

Re #1680: Add initial support for Win64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/activesock.c

    r4461 r4537  
    371371 
    372372        r->pkt = (pj_uint8_t*)readbuf[i]; 
    373         r->max_size = size_to_read = buff_size; 
     373        size_to_read = r->max_size = buff_size; 
    374374 
    375375        status = pj_ioqueue_recv(asock->key, &r->op_key, r->pkt, &size_to_read, 
     
    430430 
    431431        r->pkt = (pj_uint8_t*) readbuf[i]; 
    432         r->max_size = size_to_read = buff_size; 
     432        size_to_read = r->max_size = buff_size; 
    433433        r->src_addr_len = sizeof(r->src_addr); 
    434434 
     
    533533                 * sockets, it means we've got some error (e.g. EWOULDBLOCK). 
    534534                 */ 
    535                 status = -bytes_read; 
     535                status = (pj_status_t)-bytes_read; 
    536536            } 
    537537 
Note: See TracChangeset for help on using the changeset viewer.