From 7f18e3086e219cc8a3639ebc7b0e4192001d3174 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Fri, 25 Mar 2011 12:09:59 +0900 Subject: [PATCH] Fix type for character value. --- nkf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] == '&'){ -- 2.11.0