Skip to content

Commit 5aed385

Browse files
committed
Minor style fix in cast
1 parent e2e2772 commit 5aed385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct llama_server_context
7171
{
7272
embd_inp.push_back(prompt_tokens[i]);
7373
if(new_prompt_len == 0) {
74-
if(((int32_t)i) - 1 < n_past) {
74+
if(int32_t(i) - 1 < n_past) {
7575
processed_tokens.erase(processed_tokens.begin() + i, processed_tokens.end());
7676
}
7777
// Evaluate the new fragment prompt from the last token processed.

0 commit comments

Comments
 (0)