From 2af2eb28da63f4a3f5c0877f7bc9eb7cedf5db12 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 12 Sep 2008 11:30:14 +0000 Subject: * regenc.c (onigenc_single_byte_code_to_mbc): follow OnigEncoding change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regenc.c') diff --git a/regenc.c b/regenc.c index 5afa1807b9..935e8d33d1 100644 --- a/regenc.c +++ b/regenc.c @@ -630,7 +630,7 @@ extern int onigenc_single_byte_code_to_mbc(OnigCodePoint code, UChar *buf, OnigEncoding enc ARG_UNUSED) { if (code > 0xff) - rb_raise(rb_eRangeError, "%"PRIdVALUE " out of char range", code); + rb_raise(rb_eRangeError, "%u out of char range", code); *buf = (UChar )(code & 0xff); return 1; } -- cgit v1.2.1