aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/solaris.c')
-rw-r--r--Alc/solaris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/solaris.c b/Alc/solaris.c
index 5f0ebf17..5c7716f6 100644
--- a/Alc/solaris.c
+++ b/Alc/solaris.c
@@ -37,7 +37,7 @@
#include <sys/audioio.h>
-static char *solaris_device;
+static const ALCchar solaris_device[] = "Solaris Software";
typedef struct {
int fd;
@@ -279,7 +279,7 @@ void alc_solaris_init(BackendFuncs *func_list)
{
*func_list = solaris_funcs;
- solaris_device = AppendDeviceList("Solaris Software");
+ AppendDeviceList(solaris_device);
AppendAllDeviceList(solaris_device);
}