Skip to content

Commit 5fa4d44

Browse files
committed
patch 7.4.1074
Problem: Warning from VX2015 compiler. Solution: Add a type cast. (Mike Williams)
1 parent 28fb79d commit 5fa4d44

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/gui_dwrite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ DWriteContext::DrawText(HDC hdc, const WCHAR* text, int len,
686686

687687
if (SUCCEEDED(hr))
688688
{
689-
DWRITE_TEXT_RANGE textRange = { 0, len };
689+
DWRITE_TEXT_RANGE textRange = { 0, (UINT32)len };
690690
textLayout->SetFontWeight(mFontWeight, textRange);
691691
textLayout->SetFontStyle(mFontStyle, textRange);
692692
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1074,
744746
/**/
745747
1073,
746748
/**/

0 commit comments

Comments
 (0)