From 00898117c7651e9c94c9d66ecfed57b4eebb14ea Mon Sep 17 00:00:00 2001 From: nkorslund Date: Wed, 26 Aug 2009 10:40:20 +0000 Subject: [PATCH] - fixed a typecast for 64-bit platforms (Monster) git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@130 ea6a568a-9f4f-0410-981a-c910a81bb256 --- monster/compiler/scopes.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monster/compiler/scopes.d b/monster/compiler/scopes.d index c597c459c..4e454bf35 100644 --- a/monster/compiler/scopes.d +++ b/monster/compiler/scopes.d @@ -944,7 +944,7 @@ final class EnumScope : SimplePropertyScope { tasm.push(et.entries[$-1].index); } void enumLen() - { tasm.push(et.entries.length); } + { tasm.push(cast(uint)et.entries.length); } void enumVal() { tasm.getEnumValue(et.tIndex); }