File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -792,7 +792,7 @@ void URLHost::ParseIPv6Host(const char* input, size_t length) {
792792 uint16_t * compress_pointer = nullptr ;
793793 const char * pointer = input;
794794 const char * end = pointer + length;
795- unsigned value, len, swaps, numbers_seen;
795+ unsigned value, len, numbers_seen;
796796 char ch = pointer < end ? pointer[0 ] : kEOL ;
797797 if (ch == ' :' ) {
798798 if (length < 2 || pointer[1 ] != ' :' )
@@ -881,7 +881,7 @@ void URLHost::ParseIPv6Host(const char* input, size_t length) {
881881 }
882882
883883 if (compress_pointer != nullptr ) {
884- swaps = piece_pointer - compress_pointer;
884+ unsigned swaps = piece_pointer - compress_pointer;
885885 piece_pointer = buffer_end - 1 ;
886886 while (piece_pointer != &value_.ipv6 [0 ] && swaps > 0 ) {
887887 uint16_t temp = *piece_pointer;
You can’t perform that action at this time.
0 commit comments