diff --git a/llama.cpp b/llama.cpp index bce4ee5b6..0e8a850ed 100644 --- a/llama.cpp +++ b/llama.cpp @@ -12816,7 +12816,7 @@ static std::vector llama_tokenize_internal(const llama_vocab & auto raw_text = fragment.raw_text.substr(fragment.offset, fragment.length); if (special_token_rtrim) { - uint num_whitespaces = 0; + size_t num_whitespaces = 0; while (isspace(raw_text[num_whitespaces])) { num_whitespaces++; }