aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/permission.c2
-rw-r--r--src/permission.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/permission.c b/src/permission.c
index 7df4e27fc..a65941771 100644
--- a/src/permission.c
+++ b/src/permission.c
@@ -111,7 +111,7 @@ void initPermissions(void)
permission_default = parsePermissions(param->value);
}
-int getPermissionFromPassword(char *password, unsigned *permission)
+int getPermissionFromPassword(char const* password, unsigned* permission)
{
bool found;
gpointer key, value;
diff --git a/src/permission.h b/src/permission.h
index bad26aa3c..2a5d999ce 100644
--- a/src/permission.h
+++ b/src/permission.h
@@ -27,7 +27,7 @@
#define PERMISSION_ADMIN 8
-int getPermissionFromPassword(char *password, unsigned *permission);
+int getPermissionFromPassword(char const* password, unsigned* permission);
void finishPermissions(void);