summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dso.c b/src/dso.c
index 5dc4823..c9c2a15 100644
--- a/src/dso.c
+++ b/src/dso.c
@@ -73,7 +73,7 @@ static int ca_error_from_lt_error(int code) {
#endif
};
- if (code < 0 || code >= CA_ELEMENTSOF(table))
+ if (code < 0 || code >= (int) CA_ELEMENTSOF(table))
return CA_ERROR_INTERNAL;
return table[code];