Re: [PATCH] [Request for inclusion] Filesystem in Userspace

Ralph Corderoy
2004-11-16T15:19:33Z

Hi,

Pekka Enberg wrote:
> No, that is obfuscation and has nothing to do with this. The cast I
> mentioned is _redudant_ because the common case is:
>
> struct foo * f = (struct foo *) priv; /* priv is void pointer */

These casts are also a problem when priv changes type; the compiler is
being told to not complain.

Cheers,

Ralph.