[ros-bugs] [Bug 5343] Rearrange cast order in MAKEINTRESOURCE
ReactOS.Bugzilla at reactos.org
ReactOS.Bugzilla at reactos.org
Mon May 3 20:39:28 CEST 2010
http://www.reactos.org/bugzilla/show_bug.cgi?id=5343
--- Comment #2 from LoveN <love.nystrom at gmail.com> 2010-05-03 20:39:28 CET ---
(In reply to comment #1)
Yes.. You're right to redefine MAKEINTRESOURCE with LOWORD.
Chuck the patch in the dustbin, your way is cleaner.
Upcasting WORD to LPSTR is nothing strange though.
>> MOVZX EAX, BX for example.
You get the high 16 bits zero,
just like you need for an int res.id.
Best Regards
Love
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Ros-bugs
mailing list