摘要:
Bug version: // FILETIME ft = ....; ULONGLONG res = ft.dwHighDateTime (ft.dwHighDateTime) `ft.dwHighDateTime << 0x00000000, 00000020`.You can notice, the right operand is expanded to 64-bit, which is bug prone!The operation `<<` will not promote the left operand however there is overflow 阅读全文