Fix casts in dlls/crypt32/decode.c

Robert Shearman rob at codeweavers.com
Mon Oct 15 02:18:14 CDT 2007


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.

-- 
Rob Shearman




More information about the wine-devel mailing list