From e60be3ec1b054d9df58321f52132029b117b2ee2 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Wed, 27 Sep 2017 18:44:29 +0300 Subject: [PATCH] fix build failure for x64 - close #462 --- src/dlangui/graphics/ftfonts.d | 2 +- views/DLANGUI_VERSION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dlangui/graphics/ftfonts.d b/src/dlangui/graphics/ftfonts.d index 00e78ae8..5a8b1172 100644 --- a/src/dlangui/graphics/ftfonts.d +++ b/src/dlangui/graphics/ftfonts.d @@ -319,7 +319,7 @@ class FreeTypeFontFile { &delta); /* target vector */ const RSHIFT = 0; if ( !error ) - return (delta.x) >> RSHIFT; + return cast(int)((delta.x) >> RSHIFT); return 0; } } diff --git a/views/DLANGUI_VERSION b/views/DLANGUI_VERSION index 91b73940..62d6e647 100644 --- a/views/DLANGUI_VERSION +++ b/views/DLANGUI_VERSION @@ -1 +1 @@ -v0.9.151 \ No newline at end of file +v0.9.152 \ No newline at end of file