Cast alpn_list to void * to prevent MSVC compiler warnings
This commit is contained in:
parent
c3f89aa26c
commit
525f87559f
@ -355,7 +355,7 @@ int main( int argc, char *argv[] )
|
||||
pk_init( &pkey );
|
||||
#endif
|
||||
#if defined(POLARSSL_SSL_ALPN)
|
||||
memset( alpn_list, 0, sizeof alpn_list );
|
||||
memset( (void * ) alpn_list, 0, sizeof( alpn_list ) );
|
||||
#endif
|
||||
|
||||
if( argc == 0 )
|
||||
|
@ -489,7 +489,7 @@ int main( int argc, char *argv[] )
|
||||
ssl_cache_init( &cache );
|
||||
#endif
|
||||
#if defined(POLARSSL_SSL_ALPN)
|
||||
memset( alpn_list, 0, sizeof alpn_list );
|
||||
memset( (void *) alpn_list, 0, sizeof( alpn_list ) );
|
||||
#endif
|
||||
|
||||
if( argc == 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user