Fixed a compilation bug on 32bit.

This commit is contained in:
Ferdinand Majerech 2012-03-19 14:31:11 +01:00
parent d64de6a312
commit 1a1783a228

View file

@ -1588,7 +1588,7 @@ struct Node
static void removeElem(E, I)(ref Node node, I index)
{
auto elems = node.value_.get!(E[]);
moveAll(elems[index + 1 .. $], elems[index .. $ - 1]);
moveAll(elems[cast(size_t)index + 1 .. $], elems[cast(size_t)index .. $ - 1]);
elems.length = elems.length - 1;
node.value_ = Value(elems);
}