aboutsummaryrefslogtreecommitdiff
path: root/src/core/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/options.c')
-rw-r--r--src/core/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/options.c b/src/core/options.c
index 7a5de33d..03002d6c 100644
--- a/src/core/options.c
+++ b/src/core/options.c
@@ -263,7 +263,7 @@ static int
nni_option_set_id(const char *name, int id)
{
nni_option *opt;
- int len;
+ size_t len;
nni_mtx_lock(&nni_option_lk);
NNI_LIST_FOREACH (&nni_options, opt) {
if (strcmp(name, opt->o_name) == 0) {