Commit fb71831390 for aom

commit fb718313902eaf2be17e86cc158374dfd3fc2a06
Author: Wan-Teh Chang <wtc@google.com>
Date:   Sun Oct 11 06:34:50 2026 -0700

    Add double casts to silence MSVC C4244 warnings

    aom\av1\encoder\pickrst.c(1195): warning C4244: 'initializing':
    conversion from 'int64_t' to 'const double', possible loss of data

    The double type has a 53-bit significand precision, so a loss of
    precision is expected when a large int64_t value is converted to double.

    Bug: oss-fuzz:566951534
    Change-Id: I863901c448f0b1aec64dfc41f1078e64116ebafd

diff --git a/av1/encoder/pickrst.c b/av1/encoder/pickrst.c
index bc45960d51..304644d05d 100644
--- a/av1/encoder/pickrst.c
+++ b/av1/encoder/pickrst.c
@@ -1192,8 +1192,8 @@ static int linsolve_wiener(int n, int64_t *A, int stride, int64_t *b,
       // Use floating-point arithmetic.
       for (int i = k; i < n - 1; i++) {
         if (A[k * stride + k] == 0) return 0;
-        const double c = A[(i + 1) * stride + k];
-        const double cd = A[k * stride + k];
+        const double c = (double)A[(i + 1) * stride + k];
+        const double cd = (double)A[k * stride + k];
         for (int j = 0; j < n; j++) {
           A[(i + 1) * stride + j] -= (int64_t)(A[k * stride + j] * c / cd);
         }