Ignore:
Timestamp:
Jan 24, 2017 5:41:05 AM (8 years ago)
Author:
nanang
Message:

Misc (re #1945): Fixed compile warnings on Android 64bit platforms, e.g: dereferencing type-punned pointer, using uninitialized var.

File:
1 edited

Legend:

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

    r5537 r5544  
    13221322                    break; 
    13231323                case GEN_IPADD: 
    1324                     p = ASN1_STRING_data(name->d.ip); 
    1325                     len = ASN1_STRING_length(name->d.ip); 
     1324                    p = (unsigned char*)M_ASN1_STRING_data(name->d.ip); 
     1325                    len = M_ASN1_STRING_length(name->d.ip); 
    13261326                    type = PJ_SSL_CERT_NAME_IP; 
    13271327                    break; 
Note: See TracChangeset for help on using the changeset viewer.