diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-07 18:23:12 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-07 18:23:59 +0300 |
commit | a19da5c10d2edac01070760438ae9bb1d89f1439 (patch) | |
tree | cdb49f1986c368b9bd3364cae091336744cdeb6f /source | |
parent | b9dbcf406e834a0673fc5586e83c91c781bbbc6c (diff) |
Quiet gcc warning-as-error about non-const pointer passed to const parameter.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c index 184ff09a76e..a11733c060b 100644 --- a/source/blender/windowmanager/intern/wm_keymap.c +++ b/source/blender/windowmanager/intern/wm_keymap.c @@ -1791,7 +1791,7 @@ wmKeyMap *WM_keymap_guess_opname(const bContext *C, const char *opname) * Mesh keymap is probably not ideal, but best place I could find to put those. */ if (sl->spacetype == SPACE_VIEW3D) { km = WM_keymap_find_all(C, "Mesh", 0, 0); - if (km && km->poll && !km->poll(C)) { + if (km && km->poll && !km->poll((bContext *)C)) { km = NULL; } } |