summaryrefslogtreecommitdiffstats
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index 86b4bfc..7fe52cc 100644
--- a/src/state.c
+++ b/src/state.c
@@ -221,7 +221,7 @@ abstract_path(LV2_State_Map_Path_Handle handle,
LilvState* state = (LilvState*)handle;
char* path = NULL;
char* real_path = lilv_realpath(abs_path);
- const PathMap key = { (char*)real_path, NULL };
+ const PathMap key = { real_path, NULL };
ZixTreeIter* iter = NULL;
if (abs_path[0] == '\0') {