blob/blobmsg: add explicit typecasts for attribute iterators
authorFelix Fietkau <nbd@nbd.name>
Tue, 29 Nov 2016 13:02:54 +0000 (14:02 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 29 Nov 2016 13:02:57 +0000 (14:02 +0100)
commit77a629375d7387a33a59509d9d751a8798134cab
treed6bda70e0a254483b70fc96b1005695fc6ea4c8b
parentd0312bd9b1c81a8b428a32f29fba63279024fa76
blob/blobmsg: add explicit typecasts for attribute iterators

Fixes C++ compatibility.

Reported in https://forum.lede-project.org/t/blobmsg-for-each-attr-from-c/389

Signed-off-by: Felix Fietkau <nbd@nbd.name>
blob.h
blobmsg.h