diff options
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/state.c b/src/state.c index 2d1b349..23c1cc4 100644 --- a/src/state.c +++ b/src/state.c @@ -198,9 +198,9 @@ retrieve_callback(LV2_State_Handle handle, } static bool -lilv_state_has_path(const char* path, void* state) +lilv_state_has_path(const char* path, const void* state) { - return lilv_state_rel2abs((LilvState*)state, path) != path; + return lilv_state_rel2abs((const LilvState*)state, path) != path; } static char* @@ -872,7 +872,7 @@ add_state_to_manifest(LilvWorld* lworld, } static bool -link_exists(const char* path, void* data) +link_exists(const char* path, const void* data) { const char* target = (const char*)data; if (!lilv_path_exists(path, NULL)) { |