aboutsummaryrefslogtreecommitdiffstats
path: root/enc/emacs_mule.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-05 20:16:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-05 20:16:32 +0000
commit5528903d01816a99313404672f96229798663a10 (patch)
treec5c3e4af3fb8f9680ca33674de0da03569eaa02f /enc/emacs_mule.c
parentd8d9bac5c8b071135e50ad3f21c8a9b6a9c06e54 (diff)
downloadruby-5528903d01816a99313404672f96229798663a10.tar.gz
* enc/{emacs_mule,euc_jp}.c (code_to_mbc): suppress warnings.
* enc/iso_8859_{1,2}.c (apply_all_case_fold): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/emacs_mule.c')
-rw-r--r--enc/emacs_mule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/emacs_mule.c b/enc/emacs_mule.c
index be7f842259..246593b7eb 100644
--- a/enc/emacs_mule.c
+++ b/enc/emacs_mule.c
@@ -264,7 +264,7 @@ code_to_mbc(OnigCodePoint code, UChar *buf, OnigEncoding enc)
if (enclen(enc, buf, p) != (p - buf))
return ONIGERR_INVALID_CODE_POINT_VALUE;
- return p - buf;
+ return (int)(p - buf);
}
static int