Skip to content

Commit

Permalink
fix ddb_replaygain_control implicit enum cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy-Yakovenko committed Jul 15, 2024
1 parent 05bfea4 commit 56091e0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions plugins/ddb_replaygain_control/enum.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/rg_control.c b/rg_control.c
index 4c05971..2ef8ed5 100644
--- a/rg_control.c
+++ b/rg_control.c
@@ -72,7 +72,7 @@ replaygain_control_set_replaygain (int replaygain_mode)


static int
-replaygain_control_action_callback(DB_plugin_action_t *action, int ctx) {
+replaygain_control_action_callback(DB_plugin_action_t *action, ddb_action_context_t ctx) {
on_button_config (NULL);
return 0;
}
1 change: 1 addition & 0 deletions plugins/ddb_replaygain_control/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
url: "https://github.com/cboxdoerfer/ddb_replaygain_control.git",
patches: [
"make.diff",
"enum.diff"
]
},
make: {
Expand Down

0 comments on commit 56091e0

Please sign in to comment.