Skip to content
Commit 4b8fe663 authored by Dmitry V. Levin's avatar Dmitry V. Levin Committed by David S. Miller
Browse files

netlink: fix gcc -Wconversion compilation warning



$ cat << EOF | gcc -Wconversion -xc -S -o/dev/null -
unsigned f(void) {return NLMSG_HDRLEN;}
EOF
<stdin>: In function 'f':
<stdin>:3:26: warning: negative integer implicitly converted to unsigned type

Signed-off-by: default avatarDmitry V. Levin <ldv@altlinux.org>
Signed-off-by: default avatarKirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f4680d3d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment