[前][次][番号順一覧][スレッド一覧]

ruby-changes:15595

From: usa <ko1@a...>
Date: Mon, 26 Apr 2010 15:48:33 +0900 (JST)
Subject: [ruby-changes:15595] Ruby:r27502 (trunk): * ext/json/generator/generator.c (convert_UTF8_to_JSON_ASCII): get rid

usa	2010-04-26 15:43:36 +0900 (Mon, 26 Apr 2010)

  New Revision: 27502

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27502

  Log:
    * ext/json/generator/generator.c (convert_UTF8_to_JSON_ASCII): get rid
      of a warning.

  Modified files:
    trunk/ChangeLog
    trunk/ext/json/generator/generator.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27501)
+++ ChangeLog	(revision 27502)
@@ -1,3 +1,8 @@
+Mon Apr 26 15:42:59 2010  NAKAMURA Usaku  <usa@r...>
+
+	* ext/json/generator/generator.c (convert_UTF8_to_JSON_ASCII): get rid
+	  of a warning.
+
 Mon Apr 26 13:11:57 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* parse.y (ripper_get_value): escape Qundef.
Index: ext/json/generator/generator.c
===================================================================
--- ext/json/generator/generator.c	(revision 27501)
+++ ext/json/generator/generator.c	(revision 27502)
@@ -172,7 +172,7 @@
                             fbuffer_append(buffer, "\\\"", 2);
                             break;
                         default:
-                            fbuffer_append_char(buffer, ch);
+                            fbuffer_append_char(buffer, (char)ch);
                             break;
                     }
                 } else {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]