mirror of
https://github.com/Immediate-Mode-UI/Nuklear.git
synced 2026-11-30 16:48:10 +01:00
Nuklear changed a lot of stuff from integer types to nk_bool back in: https://github.com/Immediate-Mode-UI/Nuklear/pull/185 This introduced an issue in demo/common/style_configurator.c where the int pointer would be passed into nk_checkbox_label() which expects nk_bool pointer instead, thus causing an unsafe cast. This change fixes this issue by using a reference of additional variable. Fixes: https://github.com/Immediate-Mode-UI/Nuklear/issues/812