Add casts to tools/makedep.c

Dmitry Timoshkov dmitry at codeweavers.com
Mon Mar 12 22:21:27 CDT 2007


"Gerald Pfeifer" <gerald at pfeifer.com> wrote:

> I accidently ended up building Wine using a C++ compiler the other day,
> and came across the following.

> -        char *p = xmalloc (size);
> +        char *p = (char*) xmalloc (size);

That's a problem of C++ not Wine if it can't cope with casting void * to
another pointer type. Polluting the whole source with useless casts buys
us nothing.

-- 
Dmitry.



More information about the wine-devel mailing list