summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index c3c9d68..9a73994 100644
--- a/src/common.c
+++ b/src/common.c
@@ -696,7 +696,7 @@ int _plist_dict_copy_item(plist_t target_dict, plist_t source_dict, const char *
return 0;
}
-const char* path_get_basename(char* path)
+const char* path_get_basename(const char* path)
{
#ifdef WIN32
const char *p = path + strlen(path);