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:
parent
28fb79db6b
commit
5fa4d448fb
@ -686,7 +686,7 @@ DWriteContext::DrawText(HDC hdc, const WCHAR* text, int len,
|
|||||||
|
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
{
|
{
|
||||||
DWRITE_TEXT_RANGE textRange = { 0, len };
|
DWRITE_TEXT_RANGE textRange = { 0, (UINT32)len };
|
||||||
textLayout->SetFontWeight(mFontWeight, textRange);
|
textLayout->SetFontWeight(mFontWeight, textRange);
|
||||||
textLayout->SetFontStyle(mFontStyle, textRange);
|
textLayout->SetFontStyle(mFontStyle, textRange);
|
||||||
}
|
}
|
||||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1074,
|
||||||
/**/
|
/**/
|
||||||
1073,
|
1073,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user