diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 16:55:10 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 16:55:10 +0100 |
commit | 98ab313fe496ae7c792db29c80bf6b23347484ff (patch) | |
tree | 3e140e51f430a422b6dd4568fec4884c280b6876 /src/regposix.c | |
parent | b62fc1758f4ae8459e6d7e8386ca547274b4daa2 (diff) |
New upstream version 6.7.0upstream/6.7.0
Diffstat (limited to 'src/regposix.c')
-rw-r--r-- | src/regposix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regposix.c b/src/regposix.c index 32b11b5..0fdbcbb 100644 --- a/src/regposix.c +++ b/src/regposix.c @@ -40,7 +40,7 @@ if (ONIGENC_MBC_MINLEN(enc) == 1) { \ UChar* tmps = (UChar* )(s); \ while (*tmps != 0) tmps++; \ - len = tmps - (UChar* )(s); \ + len = (int )(tmps - (UChar* )(s));\ } \ else { \ len = onigenc_str_bytelen_null(enc, (UChar* )s); \ |