From a209c04661be1e276cba41bfccb6a6bc67be7c2a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 29 Dec 2017 10:18:27 -0500 Subject: Remove pointless casts --- src/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state.c') 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') { -- cgit v1.2.1