summaryrefslogtreecommitdiff
path: root/menu_dirselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu_dirselect.c')
-rw-r--r--menu_dirselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu_dirselect.c b/menu_dirselect.c
index 40353ee..0fc7304 100644
--- a/menu_dirselect.c
+++ b/menu_dirselect.c
@@ -83,7 +83,7 @@ int cMenuDirSelect::Level(const char* szDir)
return 1;
do
{
- char* pos = strchr(szDir, '~');
+ const char* pos = strchr(szDir, '~');
if (pos)
{
iLevel++;