Commit 79c69f4b0 for llama.cpp

commit 79c69f4b06805fe53c91596de6c958f86dbbdf41
Author: Rajarshi Datta <138959719+rajarshidattapy@users.noreply.github.com>
Date:   Wed Nov 25 04:50:46 2026 +0530

    tests : fix MSVC static build of test-batch-alloc and test-server-component (#32870)

    Fixes #32868

diff --git a/tests/test-batch-alloc.cpp b/tests/test-batch-alloc.cpp
index 42c4c5249..49e2b0755 100644
--- a/tests/test-batch-alloc.cpp
+++ b/tests/test-batch-alloc.cpp
@@ -910,7 +910,7 @@ static void test_mrope(testing & t) {
         auto try_pos = [&](llama_pos p0) {
             batch_builder bb(n_embd, &mem, 4, n_pos);

-            const llama_pos pos[n_pos] = { p0, 1, 1, 0 };
+            const llama_pos pos[] = { p0, 1, 1, 0 };
             bb.add_embd(pos, {0}, true);

             return ba.init(bb.b, vocab, false);
diff --git a/tests/test-server-component.cpp b/tests/test-server-component.cpp
index bb531860c..39996fd80 100644
--- a/tests/test-server-component.cpp
+++ b/tests/test-server-component.cpp
@@ -520,7 +520,8 @@ static void test_server_pipe(testing & t) {
         server_pipe<int> p;
         std::thread producer([&]() {
             for (int i = 0; i < n; i++) {
-                p.write(int(i));
+                int x = i;
+                p.write(std::move(x));
             }
             p.close_write();
         });