kconfig: fix lists definition for C++
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 29 Apr 2013 17:50:32 +0000 (19:50 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 31 May 2013 15:56:27 +0000 (17:56 +0200)
commitb3805f620303ab02d11d1a6df6dd589e8fcd5d39
treebb2f845bd12e0c49a45b90c49024eff4a5bb1055
parent4b0e02becffce2e69a2621cfef61790c62a6b016
kconfig: fix lists definition for C++

The C++ compiler is more strict in that it refuses to assign
a void* to a struct list_head*.

Fix that by explicitly casting the poisonning constants.

(Tested with all 5 frontends, now.)

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Benjamin Poirier <bpoirier@suse.de>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
config/list.h