]> granicus.if.org Git - vim/commitdiff
patch 7.4.1074 v7.4.1074
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2016 12:25:55 +0000 (13:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2016 12:25:55 +0000 (13:25 +0100)
Problem:    Warning from VX2015 compiler.
Solution:   Add a type cast. (Mike Williams)

src/gui_dwrite.cpp
src/version.c

index d4c43a37d6f519d775ce8f3fdbdd4378f85cbb5b..08b81c44701a6c1b044dffabb275b9b17573a674 100644 (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);
        }
index 46e5aa7da27f20743960bb387d5a0c0ffd12e949..d1b5124a95c8d7b223ec53db7d3122c1543b25fc 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1074,
 /**/
     1073,
 /**/