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/euc_jp.c | |
parent | 4fdc47601d9e68343fa6818beda4c6a2012baccd (diff) | |
parent | 0801ae9d92abbf9942f89f48b2dd851650df21be (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/euc_jp.c')
-rw-r--r-- | src/euc_jp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/euc_jp.c b/src/euc_jp.c index 756bdc7..42c3bce 100644 --- a/src/euc_jp.c +++ b/src/euc_jp.c @@ -152,7 +152,7 @@ code_to_mbc(OnigCodePoint code, UChar *buf) if (enclen(ONIG_ENCODING_EUC_JP, buf) != (p - buf)) return ONIGERR_INVALID_CODE_POINT_VALUE; #endif - return p - buf; + return (int )(p - buf); } static int @@ -230,7 +230,7 @@ static int property_name_to_ctype(OnigEncoding enc, UChar* p, UChar* end) { struct PropertyNameCtype* pc; - int len = end - p; + int len = (int )(end - p); char q[32]; if (len < sizeof(q) - 1) { |