fix build error on x64

This commit is contained in:
Vadim Lopatin 2016-02-16 15:57:33 +03:00
parent f694bf38eb
commit bc9fe4f2f0
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class Mesh {
@property int vertexCount() const { return _vertexCount; }
/// mesh part count
@property int partCount() const { return _parts.length; }
@property int partCount() const { return cast(int)_parts.length; }
/// returns mesh part by index
MeshPart part(int index) { return _parts[index]; }