Re: [PATCH] kernel32/tests: Add 64bit number tests for FormatMessage[A|W] (try 2)
8 Mar
2017
8 Mar
'17
3:15 p.m.
On 08.03.2017 15:42, Bruno Jesus wrote:
+ { -1, "-1", 2}, + { ULL(0xFFFFFFFF,0xFFFFFFFF), "-1", 2},
You can remove the second test. 0xffffffffffffffff and -1 are just different representations for the same number. Best regards, Sebastian
8 Mar
8 Mar
3:21 p.m.
New subject: [PATCH] kernel32/tests: Add 64bit number tests for FormatMessage[A|W] (try 2)
On Wed, Mar 8, 2017 at 12:15 PM, Sebastian Lackner <sebastian(a)fds-team.de> wrote:
On 08.03.2017 15:42, Bruno Jesus wrote:
+ { -1, "-1", 2}, + { ULL(0xFFFFFFFF,0xFFFFFFFF), "-1", 2},
You can remove the second test. 0xffffffffffffffff and -1 are just different representations for the same number.
Hi, thanks for the review. I thought about that but I left it for the sake of visual completeness and the lack of more interesting numbers or corner cases that I'm aware of.
3206
Age (days ago)
3206
Last active (days ago)
1 comments
2 participants
participants (2)
-
Bruno Jesus -
Sebastian Lackner