diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-22 00:14:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-22 00:14:41 +0300 |
commit | f1f8859ad52bd274f96c965457d4f5aa999366e9 (patch) | |
tree | 03cbcec0fbb5b3693f4bc34070c953a9087d18aa /source | |
parent | afa3aec45d95c225c0388615ad5d0549769df1fe (diff) |
Cleanup: const cast
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 2 | ||||
-rw-r--r-- | source/blender/editors/screen/screen_user_menu.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index 35f5000f4b7..4adf040f1ea 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -310,7 +310,7 @@ bool ED_operator_camera(struct bContext *C); /* screen_user_menu.c */ -bUserMenu **ED_screen_user_menus_find(struct bContext *C, uint *r_len); +bUserMenu **ED_screen_user_menus_find(const struct bContext *C, uint *r_len); struct bUserMenu *ED_screen_user_menu_ensure(struct bContext *C); diff --git a/source/blender/editors/screen/screen_user_menu.c b/source/blender/editors/screen/screen_user_menu.c index fe2b144611e..399cbb1057d 100644 --- a/source/blender/editors/screen/screen_user_menu.c +++ b/source/blender/editors/screen/screen_user_menu.c @@ -62,7 +62,7 @@ /** \name Menu Type * \{ */ -bUserMenu **ED_screen_user_menus_find(bContext *C, uint *r_len) +bUserMenu **ED_screen_user_menus_find(const bContext *C, uint *r_len) { SpaceLink *sl = CTX_wm_space_data(C); const char *context = CTX_data_mode_string(C); |