diff -rupN --no-dereference gdal-3.8.4-fedora/port/cpl_vsil_win32.cpp gdal-3.8.4-fedora-new/port/cpl_vsil_win32.cpp --- gdal-3.8.4-fedora/port/cpl_vsil_win32.cpp 2024-02-08 20:16:25.000000000 +0100 +++ gdal-3.8.4-fedora-new/port/cpl_vsil_win32.cpp 2024-02-18 23:38:43.682963451 +0100 @@ -812,7 +812,7 @@ int VSIWin32FilesystemHandler::Stat(cons } else { - nResult = _wstat64(pwszFilename, pStatBuf); + nResult = _wstat64(pwszFilename, reinterpret_cast(pStatBuf)); if (nResult < 0) { DWORD nLastError = GetLastError();