From: NARUSE, Yui Date: Fri, 25 Mar 2011 03:09:59 +0000 (+0900) Subject: Fix type for character value. X-Git-Tag: v2_1_3~27 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7f18e3086e219cc8a3639ebc7b0e4192001d3174;p=nkf%2Fnkf.git Fix type for character value. --- diff --git a/nkf.c b/nkf.c index 6b944e1..28e164a 100644 --- a/nkf.c +++ b/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." @@ -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] == '&'){