From 83d328d0d38ce81abb92c77f89b8e1567833ad1f Mon Sep 17 00:00:00 2001 From: Yee Man Chan Date: Tue, 2 Dec 2025 14:09:02 +0800 Subject: [PATCH] remove type mismatch warning --- src/llama-graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llama-graph.cpp b/src/llama-graph.cpp index e41d65398f..f877267289 100644 --- a/src/llama-graph.cpp +++ b/src/llama-graph.cpp @@ -1817,7 +1817,7 @@ ggml_tensor * llm_graph_context::build_rs( // copy extra states which won't be changed further (between n_seqs and n_rs) // Skip if there are no extra states to copy (n_rs == n_seqs) - if (arch != LLM_ARCH_KIMI_LINEAR || n_rs > n_seqs) { // arch check for backward compat + if (arch != LLM_ARCH_KIMI_LINEAR || n_rs > (u_int32_t) n_seqs) { // arch check for backward compat ggml_tensor * states_extra = ggml_get_rows(ctx0, states, state_copy_extra); ggml_build_forward_expand(gf, ggml_cpy(ctx0,