[PATCH] lib: add type casting for nla_for_each_nested macro

Thomas Haller thaller at redhat.com
Thu Feb 25 10:43:51 PST 2016


On Thu, 2016-02-25 at 19:01 +0100, Przemyslaw Szczerbik wrote:
> g++ is unable to compile code with nla_for_each_nested macro due to
> implicit type conversion from void* to nlattr*. This patch adds type
> casting for nla_for_each_nested macro to address this issue.
> 
> Signed-off-by: Przemyslaw Szczerbik <przemek.szczerbik at gmail.com>
> ---


merged as
https://github.com/thom311/libnl/commit/cdf2d4baf376e4a3030a2c1169516358b4fba2e5


Thank you!!
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20160225/38eb1872/attachment.sig>


More information about the libnl mailing list