TLS: Fix compile warning (comparison between signed/unsigned).

This was introduced with the addition of new TLS1.3 extensions.
This commit is contained in:
Johanna Amann 2017-05-02 11:51:36 -07:00
parent 12e809dfa0
commit 7f292dc4ad

View file

@ -195,7 +195,7 @@ refine connection Handshake_Conn += {
if ( versions_list )
{
for ( int i = 0; i < versions_list->size(); ++i )
for ( unsigned int i = 0; i < versions_list->size(); ++i )
versions->Assign(i, new Val((*versions_list)[i], TYPE_COUNT));
}
@ -211,7 +211,7 @@ refine connection Handshake_Conn += {
if ( mode_list )
{
for ( int i = 0; i < mode_list->size(); ++i )
for ( unsigned int i = 0; i < mode_list->size(); ++i )
modes->Assign(i, new Val((*mode_list)[i], TYPE_COUNT));
}