From 60a074e66573e6c622039f9dff1c21aa74b53a92 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Fri, 29 Jan 2016 16:04:17 +0300 Subject: [PATCH] fix build error on x64 --- src/dlangui/graphics/scene/mesh.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dlangui/graphics/scene/mesh.d b/src/dlangui/graphics/scene/mesh.d index 16c7a883..8718c0ac 100644 --- a/src/dlangui/graphics/scene/mesh.d +++ b/src/dlangui/graphics/scene/mesh.d @@ -70,7 +70,7 @@ struct VertexFormat { } /// returns vertex size in bytes @property int vertexSize() const { - return _vertexSize * float.sizeof; + return _vertexSize * cast(int)float.sizeof; } /// returns vertex size in floats @property int vertexFloats() const {