Ignore:
Timestamp:
Jun 13, 2019 5:58:18 AM (3 years ago)
Author:
ming
Message:

Re #2147 (misc): Suppressed various warnings from XCode (iOS)

  • this function declaration is not a prototype, and some typecasts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_config.c

    r6004 r6028  
    10731073                if (pj_ansi_strnicmp(pj_optarg, "0x", 2) == 0) { 
    10741074                    pj_str_t cipher_st = pj_str(pj_optarg + 2); 
    1075                     cipher = pj_strtoul2(&cipher_st, NULL, 16); 
     1075                    cipher = (pj_ssl_cipher)pj_strtoul2(&cipher_st, NULL, 16); 
    10761076                } else { 
    10771077                    cipher = atoi(pj_optarg); 
     
    13471347                if (pj_ansi_strnicmp(pj_optarg, "0x", 2) == 0) { 
    13481348                    pj_str_t cipher_st = pj_str(pj_optarg + 2); 
    1349                     cipher = pj_strtoul2(&cipher_st, NULL, 16); 
     1349                    cipher = (pj_ssl_cipher)pj_strtoul2(&cipher_st, NULL, 16); 
    13501350                } else { 
    13511351                    cipher = atoi(pj_optarg); 
Note: See TracChangeset for help on using the changeset viewer.