2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-10-18 20:45:19 +00:00

fix: modman compilation on windows x64

This commit is contained in:
Jan Laupetin
2025-10-10 01:29:59 +02:00
parent 39c99ffbe9
commit e38d79e83e

View File

@@ -107,7 +107,7 @@ namespace
if (foundUiFile != assetLookup.end())
{
const Microsoft::WRL::ComPtr<IStream> responseStream =
SHCreateMemStream(static_cast<const BYTE*>(foundUiFile->second.data), foundUiFile->second.dataSize);
SHCreateMemStream(static_cast<const BYTE*>(foundUiFile->second.data), static_cast<UINT>(foundUiFile->second.dataSize));
const auto headers = HeadersForAssetName(asset, foundUiFile->second.dataSize);
if (!SUCCEEDED(environment->CreateWebResourceResponse(responseStream.Get(), 200, L"OK", headers.data(), &response)))