Re: Add casts to tools/makedep.c

2007-03-13 Thread Joris Huizer
--- Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: > "Gerald Pfeifer" <[EMAIL PROTECTED]> 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)

Re: Add casts to tools/makedep.c

2007-03-12 Thread Dmitry Timoshkov
"Gerald Pfeifer" <[EMAIL PROTECTED]> 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 voi