@@ -238,7 +238,7 @@ ada_really_inline size_t find_next_host_delimiter_special(
238238 has_zero_byte (xor3) | has_zero_byte (xor4) |
239239 has_zero_byte (xor5);
240240 if (is_match) {
241- return i + index_of_first_set_byte (is_match);
241+ return size_t ( i + index_of_first_set_byte (is_match) );
242242 }
243243 }
244244 if (i < view.size ()) {
@@ -256,7 +256,7 @@ ada_really_inline size_t find_next_host_delimiter_special(
256256 has_zero_byte (xor3) | has_zero_byte (xor4) |
257257 has_zero_byte (xor5);
258258 if (is_match) {
259- return i + index_of_first_set_byte (is_match);
259+ return size_t ( i + index_of_first_set_byte (is_match) );
260260 }
261261 }
262262 return view.size ();
@@ -300,7 +300,7 @@ ada_really_inline size_t find_next_host_delimiter(std::string_view view,
300300 uint64_t is_match = has_zero_byte (xor1) | has_zero_byte (xor2) |
301301 has_zero_byte (xor4) | has_zero_byte (xor5);
302302 if (is_match) {
303- return i + index_of_first_set_byte (is_match);
303+ return size_t ( i + index_of_first_set_byte (is_match) );
304304 }
305305 }
306306 if (i < view.size ()) {
@@ -318,7 +318,7 @@ ada_really_inline size_t find_next_host_delimiter(std::string_view view,
318318 uint64_t is_match = has_zero_byte (xor1) | has_zero_byte (xor2) |
319319 has_zero_byte (xor4) | has_zero_byte (xor5);
320320 if (is_match) {
321- return i + index_of_first_set_byte (is_match);
321+ return size_t ( i + index_of_first_set_byte (is_match) );
322322 }
323323 }
324324 return view.size ();
@@ -625,7 +625,7 @@ find_authority_delimiter_special(std::string_view view) noexcept {
625625 uint64_t is_match = has_zero_byte (xor1) | has_zero_byte (xor2) |
626626 has_zero_byte (xor3) | has_zero_byte (xor4);
627627 if (is_match) {
628- return i + index_of_first_set_byte (is_match);
628+ return size_t ( i + index_of_first_set_byte (is_match) );
629629 }
630630 }
631631
@@ -640,7 +640,7 @@ find_authority_delimiter_special(std::string_view view) noexcept {
640640 uint64_t is_match = has_zero_byte (xor1) | has_zero_byte (xor2) |
641641 has_zero_byte (xor3) | has_zero_byte (xor4);
642642 if (is_match) {
643- return i + index_of_first_set_byte (is_match);
643+ return size_t ( i + index_of_first_set_byte (is_match) );
644644 }
645645 }
646646
@@ -673,7 +673,7 @@ find_authority_delimiter(std::string_view view) noexcept {
673673 uint64_t is_match =
674674 has_zero_byte (xor1) | has_zero_byte (xor2) | has_zero_byte (xor3);
675675 if (is_match) {
676- return i + index_of_first_set_byte (is_match);
676+ return size_t ( i + index_of_first_set_byte (is_match) );
677677 }
678678 }
679679
@@ -687,7 +687,7 @@ find_authority_delimiter(std::string_view view) noexcept {
687687 uint64_t is_match =
688688 has_zero_byte (xor1) | has_zero_byte (xor2) | has_zero_byte (xor3);
689689 if (is_match) {
690- return i + index_of_first_set_byte (is_match);
690+ return size_t ( i + index_of_first_set_byte (is_match) );
691691 }
692692 }
693693
0 commit comments