summaryrefslogtreecommitdiff
path: root/src/regposix.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-14 17:24:21 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-14 17:24:21 +0100
commit05d45168211fcd8f85df98e57f27785a0f739ce1 (patch)
treef2ff65f772ce0ea74533165cb9a71e0c7c0a1cf3 /src/regposix.c
parent4fdc47601d9e68343fa6818beda4c6a2012baccd (diff)
parent0801ae9d92abbf9942f89f48b2dd851650df21be (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/regposix.c')
-rw-r--r--src/regposix.c2
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); \