aboutsummaryrefslogtreecommitdiff
path: root/src/pj_param.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_param.c')
-rw-r--r--src/pj_param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_param.c b/src/pj_param.c
index 24c2354e..93f5cf53 100644
--- a/src/pj_param.c
+++ b/src/pj_param.c
@@ -45,7 +45,7 @@ pj_param(projCtx ctx, paralist *pl, const char *opt) {
type = *opt++;
/* simple linear lookup */
- l = strlen(opt);
+ l = (int)strlen(opt);
while (pl && !(!strncmp(pl->param, opt, l) &&
(!pl->param[l] || pl->param[l] == '=')))
pl = pl->next;