diff options
Diffstat (limited to 'pcre/pcre_exec.c')
-rw-r--r-- | pcre/pcre_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre/pcre_exec.c b/pcre/pcre_exec.c index 24b23ca2864..1a9bdd546ee 100644 --- a/pcre/pcre_exec.c +++ b/pcre/pcre_exec.c @@ -669,7 +669,7 @@ if (ecode == NULL) return match((PCRE_PUCHAR)&rdepth, NULL, NULL, 0, NULL, NULL, 1); else { - int len = (char *)&rdepth - (char *)eptr; + int len = (int)((char *)&rdepth - (char *)eptr); return (len > 0)? -len : len; } } |