Fixed warnings found by Dev14 CTP

This commit is contained in:
walbourn_cp
2014-09-18 16:29:08 -07:00
parent 0922ab3f94
commit 91951178e0
3 changed files with 3 additions and 3 deletions

View File

@@ -1125,7 +1125,7 @@ HRESULT DirectX::SaveWICTextureToFile( _In_ ID3D11DeviceContext* pContext,
return hr;
}
WICRect rect = { 0, 0, desc.Width, desc.Height };
WICRect rect = { 0, 0, static_cast<INT>(desc.Width), static_cast<INT>(desc.Height) };
hr = frame->WriteSource( FC.Get(), &rect );
if ( FAILED(hr) )
{