From e3c3733a30091958cb00bc1a2e4f0882fe6d59d6 Mon Sep 17 00:00:00 2001 From: naruse Date: Fri, 25 Mar 2011 06:46:55 +0000 Subject: * ext/nkf/nkf-utf8/nkf.c: import nkf 7f18e30. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/nkf/nkf-utf8/nkf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext') diff --git a/ext/nkf/nkf-utf8/nkf.c b/ext/nkf/nkf-utf8/nkf.c index 6877afe237..28e164ab91 100644 --- a/ext/nkf/nkf-utf8/nkf.c +++ b/ext/nkf/nkf-utf8/nkf.c @@ -21,7 +21,7 @@ * 3. This notice may not be removed or altered from any source distribution. */ #define NKF_VERSION "2.1.1" -#define NKF_RELEASE_DATE "2010-08-08" +#define NKF_RELEASE_DATE "2011-03-25" #define COPY_RIGHT \ "Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa).\n" \ "Copyright (C) 1996-2010, The nkf Project." @@ -3878,7 +3878,7 @@ static const unsigned char *mime_pattern[] = { /* 該当するコードの優先度を上げるための目印 */ nkf_char (*mime_priority_func[])(nkf_char c2, nkf_char c1, nkf_char c0) = { - e_iconv, s_iconv, 0, 0, 0, 0, + e_iconv, s_iconv, 0, 0, 0, 0, 0, #if defined(UTF8_INPUT_ENABLE) w_iconv, w_iconv, #endif @@ -4259,7 +4259,7 @@ numchar_getc(FILE *f) nkf_char (*u)(nkf_char c ,FILE *f) = i_nungetc; int i = 0, j; nkf_char buf[12]; - long c = -1; + nkf_char c = -1; buf[i] = (*g)(f); if (buf[i] == '&'){ -- cgit v1.2.3