aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/oss_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/oss_plugin.c')
-rw-r--r--src/output/oss_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/oss_plugin.c b/src/output/oss_plugin.c
index e83a05c5a..b27aa1b77 100644
--- a/src/output/oss_plugin.c
+++ b/src/output/oss_plugin.c
@@ -344,7 +344,7 @@ static bool oss_testDefault(void)
return false;
}
-static void *oss_open_default(struct config_param *param)
+static void *oss_open_default(const struct config_param *param)
{
int i;
int err[G_N_ELEMENTS(default_devices)];
@@ -390,7 +390,7 @@ static void *oss_open_default(struct config_param *param)
static void *
oss_initDriver(G_GNUC_UNUSED struct audio_output *audioOutput,
G_GNUC_UNUSED const struct audio_format *audio_format,
- struct config_param *param)
+ const struct config_param *param)
{
if (param) {
const char *device =