summaryrefslogtreecommitdiffstats
path: root/src/plugins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins.c')
-rw-r--r--src/plugins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins.c b/src/plugins.c
index 9d3214e..d3b7bde 100644
--- a/src/plugins.c
+++ b/src/plugins.c
@@ -286,7 +286,7 @@ slv2_plugins_get_by_uri(SLV2Plugins list, const char* uri)
SLV2Plugin p = raptor_sequence_get_at(list, i);
- int cmp = strcmp(slv2_plugin_get_uri(p), uri);
+ const int cmp = strcmp(slv2_plugin_get_uri(p), uri);
if (cmp == 0)
return p;