what gives?

Integer intg = 0xBabeBabe;
DWORD d;
intg = intg.DividedBy(2);
d = intg.ConvertToLong();
// the result should be 0x5D5F5D5F, but it's 0xDD5F5D5F instead!
assert(0xDD5F5D5F == d);        // no assert error here
assert(0x5D5F5D5F == d);        // assertion error here!

Reply via email to