Skip to content

Commit

Permalink
fix warning C4838
Browse files Browse the repository at this point in the history
  • Loading branch information
flysha committed Jan 16, 2017
1 parent 27ed172 commit 97a95e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dx.h
Original file line number Diff line number Diff line change
Expand Up @@ -6601,7 +6601,7 @@ namespace KennyKerr
inline void BitmapFrameEncode::WriteSource(BitmapSource const & source,
RectU const & rect) const
{
WICRect wrect = { rect.Left, rect.Top, rect.Width(), rect.Height() };
WICRect wrect = { (int)rect.Left, (int)rect.Top, (int)rect.Width(), (int)rect.Height() };

HR((*this)->WriteSource(source.Get(),
&wrect));
Expand Down

0 comments on commit 97a95e4

Please sign in to comment.