This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] powerpc: Fix compiler warning on some syscalls


On 01/06/2015 07:10 AM, Adhemerval Zanella wrote:
Does &tvp[0] work instead?
>
>Andreas.
>
It does and I think using would not require an explicit comment about it
usage.  Would it be a preferable solution?


Absolutely.  Casts are too powerful and can get one into trouble too easily.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]