Minor style fix in cast
This commit is contained in:
parent
2c5f38ba92
commit
81996ea82f
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ struct llama_server_context
|
|||
{
|
||||
embd_inp.push_back(prompt_tokens[i]);
|
||||
if(new_prompt_len == 0) {
|
||||
if(((int32_t)i) - 1 < n_past) {
|
||||
if(int32_t(i) - 1 < n_past) {
|
||||
processed_tokens.erase(processed_tokens.begin() + i, processed_tokens.end());
|
||||
}
|
||||
// Evaluate the new fragment prompt from the last token processed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue