diff --git a/python/src/notcurses/build_notcurses.py b/python/src/notcurses/build_notcurses.py index 3a37e897c..f65490d8c 100644 --- a/python/src/notcurses/build_notcurses.py +++ b/python/src/notcurses/build_notcurses.py @@ -206,8 +206,8 @@ unsigned cell_bchannel(const cell* cl); unsigned cell_fchannel(const cell* cl); uint64_t cell_set_bchannel(cell* cl, uint32_t channel); uint64_t cell_set_fchannel(cell* cl, uint32_t channel); -uint64_t cell_blend_fchannel(cell* cl, unsigned channel, unsigned blends); -uint64_t cell_blend_bchannel(cell* cl, unsigned channel, unsigned blends); +uint64_t cell_blend_fchannel(cell* cl, unsigned channel, unsigned* blends); +uint64_t cell_blend_bchannel(cell* cl, unsigned channel, unsigned* blends); unsigned cell_fg(const cell* cl); unsigned cell_bg(const cell* cl); unsigned cell_fg_alpha(const cell* cl); diff --git a/src/demo/hud.c b/src/demo/hud.c index 39d56354a..84b1767ed 100644 --- a/src/demo/hud.c +++ b/src/demo/hud.c @@ -61,7 +61,7 @@ struct ncmenu* menu_create(struct notcurses* nc){ struct ncmenu_item demo_items[] = { { .desc = "Restart", .shortcut = { .id = 'r', .ctrl = true, }, }, }; - const struct ncmenu_section sections[] = { + struct ncmenu_section sections[] = { { .name = "notcurses-demo", .items = demo_items, .itemcount = sizeof(demo_items) / sizeof(*demo_items), .shortcut = { .id = 'o', .alt = true, }, },