modify for D2.065
modify for win x64 D2.065 of size_t, set int = cast(int)size_t