Cast-qual warning fix

Dmitry Timoshkov dmitry at codeweavers.com
Sat Nov 4 23:54:09 CST 2006


"Andrew Talbot" <Andrew.Talbot at talbotville.com> wrote:

> -typedef void *MSIITERHANDLE;
> +typedef void        *MSIITERHANDLE;
> +typedef const void  *MSICITERHANDLE;

Personally I don't like MSICITERHANDLE typedef at all. It' not obvious
that 'C' in the name marks constness of the object. Using 'const' explicitly
such as 'const MSIITERHANDLE *handle' is much more clear and readable IMO.

-- 
Dmitry.



More information about the wine-devel mailing list