[Pkg-acpi-devel] Bug#808015: acpid: FTBFS: libnetlink.c:497:54: error: comparison between signed and unsigned integer expressions

Chris Lamb lamby at debian.org
Tue Dec 15 16:19:03 UTC 2015


>    The common thread here is RTA_ALIGN().  My guess is that it's now 
> returning an unsigned.  Adding an (int) to each one should fix it.  E.g.:
> 
>      if ((int)RTA_ALIGN(rta->rta_len) + len > maxlen) {

Yep, works great. (Both in ./libnetlink.c and ./kacpimon/libnetlink.c)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Pkg-acpi-devel mailing list