0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

patch 7.4.1074

Problem:    Warning from VX2015 compiler.
Solution:   Add a type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar 2016-01-10 13:25:55 +01:00
parent 28fb79db6b
commit 5fa4d448fb
2 changed files with 3 additions and 1 deletions

View File

@ -686,7 +686,7 @@ DWriteContext::DrawText(HDC hdc, const WCHAR* text, int len,
if (SUCCEEDED(hr))
{
DWRITE_TEXT_RANGE textRange = { 0, len };
DWRITE_TEXT_RANGE textRange = { 0, (UINT32)len };
textLayout->SetFontWeight(mFontWeight, textRange);
textLayout->SetFontStyle(mFontStyle, textRange);
}

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1074,
/**/
1073,
/**/