[Bf-blender-cvs] [f431c199541] master: Cleanup: discarded-qualifier warning

Campbell Barton noreply at git.blender.org
Fri Sep 20 13:06:27 CEST 2019


Commit: f431c199541e400653e1f8f590934a22b9672dc6
Author: Campbell Barton
Date:   Fri Sep 20 21:04:56 2019 +1000
Branches: master
https://developer.blender.org/rBf431c199541e400653e1f8f590934a22b9672dc6

Cleanup: discarded-qualifier warning

===================================================================

M	source/blender/editors/space_file/space_file.c

===================================================================

diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index a70b307e657..2daa52a841e 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -307,7 +307,7 @@ static void file_refresh(const bContext *C, ScrArea *sa)
   }
   /* If there's _no_ file-operation, ensure we _don't_ have the option region */
   else if (sa && (sfile->op == NULL) && (region_tool_props != NULL)) {
-    ED_region_remove(C, sa, region_tool_props);
+    ED_region_remove((bContext *)C, sa, region_tool_props);
   }
 
   ED_area_tag_redraw(sa);



More information about the Bf-blender-cvs mailing list