File tree 1 file changed +2
-2
lines changed
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) {
792
792
uint16_t * compress_pointer = nullptr ;
793
793
const char * pointer = input;
794
794
const char * end = pointer + length;
795
- unsigned value, len, swaps, numbers_seen;
795
+ unsigned value, len, numbers_seen;
796
796
char ch = pointer < end ? pointer[0 ] : kEOL ;
797
797
if (ch == ' :' ) {
798
798
if (length < 2 || pointer[1 ] != ' :' )
@@ -881,7 +881,7 @@ void URLHost::ParseIPv6Host(const char* input, size_t length) {
881
881
}
882
882
883
883
if (compress_pointer != nullptr ) {
884
- swaps = piece_pointer - compress_pointer;
884
+ unsigned swaps = piece_pointer - compress_pointer;
885
885
piece_pointer = buffer_end - 1 ;
886
886
while (piece_pointer != &value_.ipv6 [0 ] && swaps > 0 ) {
887
887
uint16_t temp = *piece_pointer;
You can’t perform that action at this time.
0 commit comments