summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-04-01 17:55:50 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-01 10:01:01 -0700
commitf2ab8f42ee5bbbe643b4810bf663d4f58835644b (patch)
tree09b47c63b68bd0f2dc7c5d228b8b201988223466 /macos.c
parent7ea22811802cda1df227e7fb4b76720fc15b2dcd (diff)
downloadsubsurface-f2ab8f42ee5bbbe643b4810bf663d4f58835644b.tar.gz
Match subsurface_get_conf* in windows/macos.c with linux.c
The signatures for subsurface_get_conf* in windows.c and macos.c was slightly different from those in linux.c, which broke the build (at least on Mac). Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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;