diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-06 05:45:25 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-06 05:45:42 +0300 |
commit | bb34afac56a633db3dfa2e674918850fda927c41 (patch) | |
tree | d4033e0c5cb6b6648e32c4b5e93ca71eefe87cb5 /source | |
parent | 8589f60546b34ebf39bb09bca015014256765877 (diff) |
Cleanup: quiet compiler warning
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.cc b/source/blender/windowmanager/intern/wm_event_system.cc index b39272c4cd7..510dede854c 100644 --- a/source/blender/windowmanager/intern/wm_event_system.cc +++ b/source/blender/windowmanager/intern/wm_event_system.cc @@ -4229,7 +4229,7 @@ void WM_event_modal_handler_region_replace(wmWindow *win, * it needs to keep old region stored in handler, so don't change it. */ if ((handler->context.region == old_region) && (handler->is_fileselect == false)) { handler->context.region = new_region; - handler->context.region_type = new_region ? new_region->regiontype : RGN_TYPE_WINDOW; + handler->context.region_type = new_region ? new_region->regiontype : (int)RGN_TYPE_WINDOW; } } } |