Fix casts in dlls/crypt32/decode.c
Francois Gouget
fgouget at free.fr
Mon Oct 15 04:23:12 CDT 2007
On Mon, 15 Oct 2007, Robert Shearman wrote:
> Gerald Pfeifer wrote:
> > }
> > if (!HIWORD(lpszStructType))
> > {
> > - switch (LOWORD(lpszStructType))
> > + switch ((DWORD)lpszStructType)
> >
>
> You're just passing the problem on to people doing 64-bit builds. You
> should use DWORD_PTR or use LOWORD everywhere, like you suggested.
The X509_* constants all look like small integers disguised as string
pointers so the LOWORD() approach is probably the one that makes the
most sense.
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
1 + e ^ ( i * pi ) = 0
More information about the wine-devel
mailing list