diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 17:24:21 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 17:24:21 +0100 |
commit | 05d45168211fcd8f85df98e57f27785a0f739ce1 (patch) | |
tree | f2ff65f772ce0ea74533165cb9a71e0c7c0a1cf3 /src/regext.c | |
parent | 4fdc47601d9e68343fa6818beda4c6a2012baccd (diff) | |
parent | 0801ae9d92abbf9942f89f48b2dd851650df21be (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/regext.c')
-rw-r--r-- | src/regext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regext.c b/src/regext.c index 62a557c..996d043 100644 --- a/src/regext.c +++ b/src/regext.c @@ -95,7 +95,7 @@ static int conv_encoding(OnigEncoding from, OnigEncoding to, const UChar* s, const UChar* end, UChar** conv, UChar** conv_end) { - int len = end - s; + int len = (int )(end - s); if (to == ONIG_ENCODING_UTF16_BE) { if (from == ONIG_ENCODING_ASCII || from == ONIG_ENCODING_ISO_8859_1) { |