bookevg,
That worked perfectly! It seems quite simple now! I was initially trying to cast the type not the pointer. In any case, my workaround to inline an assembly memory move worked as well, so I guess I learned two things from this problem.
Thanks a lot,
John