Re: AW: [PATCH v2] tsearch.3: Simplify type usage and remove unneeded casts

Alejandro Colomar
2020-09-08T08:30:21Z

Hello Walter,

On 2020-09-07 09:54, Walter Harms wrote:
> Hello,
> i am sorry to interrupt here but ...
> IMHO the void *val is here for a reason, because it means
> "this can be anything" the reason why int ** works here is
> that the example uses int. You make the example to specific
> in this case. may be the example from bsearch is better here.

I would say the example isn't clearer with `void *` and the cast; I see
it OK as it is now. But let's see what others think about it...

Cheers,

Alex.