From 5fa4d448fb717874b6619bcda62e42190702997c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 10 Jan 2016 13:25:55 +0100 Subject: patch 7.4.1074 Problem: Warning from VX2015 compiler. Solution: Add a type cast. (Mike Williams) --- src/gui_dwrite.cpp | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp index d4c43a37d6..08b81c4470 100644 --- a/src/gui_dwrite.cpp +++ b/src/gui_dwrite.cpp @@ -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); } diff --git a/src/version.c b/src/version.c index 46e5aa7da2..d1b5124a95 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1074, /**/ 1073, /**/ -- cgit v1.2.3