以下の小さなサンプルがLinux64では失敗するのにWindows32では失敗するのはなぜですか?
module test;
import std.string, std.stdio;
void main(string[] args)
{
    string a = "abcd=1234";
    auto b = &a;
    auto Index = indexOf(*b, '=');
    if (Index != -1)
        *cast (char*) (b.ptr + Index) = '#';
    writeln(*b);
    readln;
}