summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
Diffstat (limited to 'macos.c')
-rw-r--r--macos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macos.c b/macos.c
index 93bc00eea..38e58f54b 100644
--- a/macos.c
+++ b/macos.c
@@ -52,7 +52,7 @@ void subsurface_set_conf_int(const char *name, int value)
CFPreferencesSetAppValue(CFSTR_VAR(name), numRef, SUBSURFACE_PREFERENCES);
}
-const char *subsurface_get_conf(char *name)
+const char *subsurface_get_conf(const char *name)
{
CFPropertyListRef strpref;