diff -rupN --no-dereference gdal-3.10.3-fedora/port/cpl_vsil_win32.cpp gdal-3.10.3-fedora-new/port/cpl_vsil_win32.cpp --- gdal-3.10.3-fedora/port/cpl_vsil_win32.cpp 2025-04-01 13:03:22.000000000 +0200 +++ gdal-3.10.3-fedora-new/port/cpl_vsil_win32.cpp 2025-04-07 13:39:47.318116680 +0200 @@ -896,7 +896,7 @@ int VSIWin32FilesystemHandler::Stat(cons pwszFilename[nLen - 1] = 0; #endif - int nResult = _wstat64(pwszFilename, pStatBuf); + int nResult = _wstat64(pwszFilename, reinterpret_cast(pStatBuf)); // If _wstat64() fails and the original name is not an extended one, // then retry with an extended filename @@ -907,7 +907,7 @@ int VSIWin32FilesystemHandler::Stat(cons nLastError == ERROR_FILENAME_EXCED_RANGE) { VSIWin32TryLongFilename(pwszFilename); - nResult = _wstat64(pwszFilename, pStatBuf); + nResult = _wstat64(pwszFilename, reinterpret_cast(pStatBuf)); } }