Cleanup: Fix build warning with MSVC
MSVC warns on MEM_freeN being fed a const pointer
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user