[Bf-blender-cvs] [3019938064b] temp-lanpr-cleanup: Cleanup: discarded-qualifier warning

Campbell Barton noreply at git.blender.org
Wed Sep 25 03:50:44 CEST 2019


Commit: 3019938064b25ba4366f27ceca3f17cfdf961613
Author: Campbell Barton
Date:   Fri Sep 20 21:04:56 2019 +1000
Branches: temp-lanpr-cleanup
https://developer.blender.org/rB3019938064b25ba4366f27ceca3f17cfdf961613

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 96664b3e652..021e53ca5f9 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -361,7 +361,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