diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-28 16:46:11 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-28 16:46:11 +0100 |
commit | 5587db012cd0e8f69f811e8959a861112904136a (patch) | |
tree | 19472bb8b64980a43e99340ba899cd442a824445 /src/regposix.c | |
parent | fa131e9ad996d099bb48a3b1302e4a3b3c0f03bd (diff) | |
parent | 4bf99bd2fb7b6bde65a11dfce43ed399ecb10ccd (diff) |
Merge branch 'release/6.7.0-1'6.7.0-1
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); \ |