Ignore:
Timestamp:
Mar 5, 2013 3:12:32 AM (12 years ago)
Author:
riza
Message:

Misc (re #1559): fixed compile errors/warnings on MSVC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath-test/concur_test.c

    r4360 r4412  
    159159{ 
    160160    struct stun_test_session *test_sess = (struct stun_test_session*)pj_stun_sock_get_user_data(stun_sock); 
     161 
     162    PJ_UNUSED_ARG(op); 
     163    PJ_UNUSED_ARG(status); 
     164 
    161165    test_sess->param.client_got_response++; 
    162166    return PJ_TRUE; 
     
    193197        pj_str_t server_ip = pj_str("127.0.0.1"); 
    194198        status = pj_stun_sock_start(stun_sock[i], &server_ip, 
    195                                     test_sess->server_port, NULL); 
     199                                    (pj_uint16_t)test_sess->server_port, NULL); 
    196200        if (status != PJ_SUCCESS) { 
    197201            PJ_PERROR(1,(THIS_FILE, status, "Error starting stun socket")); 
     
    324328    } 
    325329 
     330    /* Avoid compiler warning */ 
     331    goto on_return; 
     332 
    326333 
    327334on_return: 
Note: See TracChangeset for help on using the changeset viewer.