On Fri, Nov 22, 2024 at 10:31:07PM +0200, Andy Shevchenko wrote: > On Fri, Nov 22, 2024 at 1:34 PM Uwe Kleine-König > <u.kleine-koenig@xxxxxxxxxxxx> wrote: > > + /* Add one for temperature */ > > + st->num_channels = min(num_channels + 1, AD7124_MAX_CHANNELS); > > Is the type of both arguments the same? Hmm, my compiler is happy with it at least. I don't understand why though. I'll do a few more tests ... Best regards Uwe
Attachment:
signature.asc
Description: PGP signature