# HG changeset patch # User Christian Brabandt # Date 1452429005 -3600 # Node ID 567e027a3ea18f4206c2283cef119bc24f62693a # Parent deff32fcc77aaaf2a5a0b2a5c95fde82ba7d7c26 commit https://github.com/vim/vim/commit/5fa4d448fb717874b6619bcda62e42190702997c Author: Bram Moolenaar Date: Sun Jan 10 13:25:55 2016 +0100 patch 7.4.1074 Problem: Warning from VX2015 compiler. Solution: Add a type cast. (Mike Williams) diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp --- a/src/gui_dwrite.cpp +++ b/src/gui_dwrite.cpp @@ -686,7 +686,7 @@ DWriteContext::DrawText(HDC hdc, const W if (SUCCEEDED(hr)) { - DWRITE_TEXT_RANGE textRange = { 0, len }; + DWRITE_TEXT_RANGE textRange = { 0, (UINT32)len }; textLayout->SetFontWeight(mFontWeight, textRange); textLayout->SetFontStyle(mFontStyle, textRange); } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1074, +/**/ 1073, /**/ 1072,