fix issue 10359 - Pointer slicing allowed in @safe mode

http://d.puremagic.com/issues/show_bug.cgi?id=10359