Skip to content

Commit a46dfcf

Browse files
author
jaime-m-p
committed
Type fix
1 parent dd0d159 commit a46dfcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12816,7 +12816,7 @@ static std::vector<llama_vocab::id> llama_tokenize_internal(const llama_vocab &
1281612816
auto raw_text = fragment.raw_text.substr(fragment.offset, fragment.length);
1281712817

1281812818
if (special_token_rtrim) {
12819-
uint num_whitespaces = 0;
12819+
size_t num_whitespaces = 0;
1282012820
while (isspace(raw_text[num_whitespaces])) {
1282112821
num_whitespaces++;
1282212822
}

0 commit comments

Comments
 (0)