winedump: Cast-qual warnings fix

Alexandre Julliard julliard at winehq.org
Fri Jul 13 05:29:36 CDT 2007


Andrew Talbot <Andrew.Talbot at talbotville.com> writes:

> +  const char *iter, *base_type, *catch_unsigned;
> +  union
> +  {
> +      const char    *constant;
> +      char          *nonconst;
> +  } type_str;

That's not better than simply casting const away, it's just hiding the
problem from the compiler.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list