SImple C++ code to D

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 13 12:54:30 PDT 2014


On Sunday, 13 July 2014 at 18:48:01 UTC, Alexandre wrote:
> 	dosh.e_magic = cast(WORD*)("MZ");

should be:

dosh.e_magic = cast(WORD*)("MZ".ptr);


More information about the Digitalmars-d-learn mailing list