Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-07-07 18:23:12 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-07-07 18:23:59 +0300
commita19da5c10d2edac01070760438ae9bb1d89f1439 (patch)
treecdb49f1986c368b9bd3364cae091336744cdeb6f /source/blender/windowmanager/intern/wm_keymap.c
parentb9dbcf406e834a0673fc5586e83c91c781bbbc6c (diff)
Quiet gcc warning-as-error about non-const pointer passed to const parameter.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_keymap.c')
-rw-r--r--source/blender/windowmanager/intern/wm_keymap.c2
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;
}
}