code cleanup: use const events for modal and invoke operators.
[blender.git] / source / blender / editors / physics / physics_fluid.c
index bf81db3f3a001192cd7f1c2c90e34e3b830fc204..df723b062597e4d1a73e89e714d9b81f0cbe433d 100644 (file)
@@ -1127,7 +1127,7 @@ static int fluidsimBake(bContext *UNUSED(C), ReportList *UNUSED(reports), Object
 
 /***************************** Operators ******************************/
 
-static int fluid_bake_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED(event))
+static int fluid_bake_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 {
        /* only one bake job at a time */
        if (WM_jobs_test(CTX_wm_manager(C), CTX_data_scene(C), WM_JOB_TYPE_OBJECT_SIM_FLUID))