summaryrefslogtreecommitdiffstats
path: root/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows.c')
-rw-r--r--windows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/windows.c b/windows.c
index 23b6d2f4c..94e3dc546 100644
--- a/windows.c
+++ b/windows.c
@@ -100,7 +100,7 @@ const char *subsurface_get_conf(const char *name)
return utf8_string;
}
-int subsurface_get_conf_int(char *name)
+int subsurface_get_conf_int(const char *name)
{
DWORD value = -1, len = 4;
LONG ret = RegQueryValueEx(hkey, (LPCTSTR)TEXT(name), NULL, NULL,
@@ -110,7 +110,7 @@ int subsurface_get_conf_int(char *name)
return value;
}
-int subsurface_get_conf_bool(char *name)
+int subsurface_get_conf_bool(const char *name)
{
int ret = subsurface_get_conf_int(name);
if (ret == -1)