diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-10 05:04:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-10 05:04:17 +0300 |
commit | 3335f852a12973d4cb462d1f73a5cd734a313494 (patch) | |
tree | df896bbebcb958b1554da1044127f41fa51da1ef /source/blender/editors/animation | |
parent | 26fea4de635f28d91cb81a54cf18382c839861cb (diff) |
Cleanup: mixing enum/non-enum type warning in conditional expression
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/keyframes_keylist.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframes_keylist.cc b/source/blender/editors/animation/keyframes_keylist.cc index 85036efc983..916d7de0635 100644 --- a/source/blender/editors/animation/keyframes_keylist.cc +++ b/source/blender/editors/animation/keyframes_keylist.cc @@ -294,7 +294,7 @@ static void nupdate_ak_bezt(void *node, void *data) } /* For interpolation type, select the highest value (enum is sorted). */ - ak->handle_type = MAX2(ak->handle_type, bezt_handle_type(bezt)); + ak->handle_type = MAX2((eKeyframeHandleDrawOpts)ak->handle_type, bezt_handle_type(bezt)); /* For extremes, detect when combining different states. */ const char new_extreme = bezt_extreme_type(chain); |