summaryrefslogtreecommitdiffstats
path: root/src/pluginclasses.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluginclasses.c')
-rw-r--r--src/pluginclasses.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pluginclasses.c b/src/pluginclasses.c
index 1b578f1..26c56d2 100644
--- a/src/pluginclasses.c
+++ b/src/pluginclasses.c
@@ -63,9 +63,9 @@ slv2_plugin_classes_get_by_uri(SLV2PluginClasses list, const char* uri)
i = lower + ((upper - lower) / 2);
SLV2PluginClass p = raptor_sequence_get_at(list, i);
-
- int cmp = strcmp(slv2_plugin_class_get_uri(p), uri);
-
+
+ const int cmp = strcmp(slv2_plugin_class_get_uri(p), uri);
+
if (cmp == 0)
return p;
else if (cmp > 0)