Skip to content

Commit ad842cb

Browse files
committed
chore: make end int in scorePath
1 parent 73e0b36 commit ad842cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/path_scorer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Score scorePath(const CandidateString &subject, const CandidateString &subject_l
5151
// {preparedQuery, useExtensionBonus, pathSeparator} = options
5252

5353
// Skip trailing slashes
54-
auto end = subject.size() - 1;
54+
int end = subject.size() - 1;
5555
while (subject[end] == options.pathSeparator) {
5656
end--;
5757
}

0 commit comments

Comments
 (0)