[1/5] basetsd.h: Fix a typo in the parameter name

Marcus Meissner meissner at suse.de
Wed May 23 03:27:27 CDT 2007

On Wed, May 23, 2007 at 05:04:39PM +0900, Dmitry Timoshkov wrote:
> "Vijay Kiran Kamuju" <infyquest at gmail.com> wrote:
> >I think this patch is not correct.
> >
> >-#define LongToHandle(h)         ((HANDLE)(LONG_PTR)(h))
> >+#define LongToHandle(h)         ((HANDLE)(LONG_PTR)(l))
> >
> >I dont see 'l' defined or sent to this macro any where.
> If you will inspect more closely all appropriate macros you will
> notice why it's a typo.

Well, I meant more that you should have changed "h" in both
occurences, instead of just one.

Like this:
> >-#define LongToHandle(h)         ((HANDLE)(LONG_PTR)(h))
> >+#define LongToHandle(l)         ((HANDLE)(LONG_PTR)(l))

Ciao, Marcus

More information about the wine-devel mailing list