D-Programming-Language/phobos — pull request #1589 by nbelov (2013-09-20 05:42:08+00:00)
Title: Fix BitArray.opCmp

"auto c = (cast(long)(p1[i] & mask) - cast(long)(p2[i] & mask))" is invalid if size_t.sizeof == long.sizeof.

"return cast(int)this.len - cast(int)a2.length;" - bad idea convert size_t to int.