author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 3 Dec 2014 15:15:28 +0000 (16:15 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 3 Dec 2014 21:39:18 +0000 (22:39 +0100) | ||
commit | f6c89c17955223bf8c99a901ca6f901b83fa521f | |
tree | 6ee9a9ac13f2c0a135868173e6871a83724b7d85 | tree | snapshot |
parent | 61bda3c7438f57086b0fcf87cc54407efcbaf9e3 | commit | diff |
netlink: ensure size_t portability in DEBUG() statement
This prevents the following error when building on 32bit systems with
gcc 4.7.2:
netlink.c: In function 'ir_read':
netlink.c:783:7: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Werror=format]
This prevents the following error when building on 32bit systems with
gcc 4.7.2:
netlink.c: In function 'ir_read':
netlink.c:783:7: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Werror=format]
src/netlink.c | diff | blob | history |