code cleanup: use const events for modal and invoke operators.
[blender.git] / source / blender / editors / sculpt_paint / paint_hide.c
index d50261a3b98d894cce0e2bcb96b44c352a01952e..14eb358f20fe158e1b856457d1c2f7bae4d320bf 100644 (file)
@@ -424,7 +424,7 @@ static int hide_show_exec(bContext *C, wmOperator *op)
        return OPERATOR_FINISHED;
 }
 
-static int hide_show_invoke(bContext *C, wmOperator *op, wmEvent *event)
+static int hide_show_invoke(bContext *C, wmOperator *op, const wmEvent *event)
 {
        PartialVisArea area = RNA_enum_get(op->ptr, "area");