Cleanup: Fix build warning with MSVC
MSVC warns on MEM_freeN being fed a const pointer
This commit is contained in:
parent
a69ddea29d
commit
b00820c04d
Notes:
blender-bot
2023-02-14 00:23:39 +01:00
Referenced by issue #71112, UI: support 'activate_init' for popups which refresh
|
@ -6676,7 +6676,7 @@ static void operator_enum_search_update_fn(const struct bContext *C,
|
|||
}
|
||||
}
|
||||
|
||||
MEM_freeN(filtered_items);
|
||||
MEM_freeN((void *)filtered_items);
|
||||
BLI_string_search_free(search);
|
||||
|
||||
if (do_free) {
|
||||
|
|
Loading…
Reference in New Issue