diff options
author | NARUSE, Yui <naruse@airemix.jp> | 2010-04-26 14:46:04 +0800 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2010-04-26 16:50:31 +0800 |
commit | 9095e823312421bcce0da1dbe9cb25f8f528a1b1 (patch) | |
tree | 294174857a80177f3e0f8bea4817529fbaad833f | |
parent | 258bbaaaf8709a78b52421a5d0056302830da81e (diff) | |
download | json-9095e823312421bcce0da1dbe9cb25f8f528a1b1.tar.gz |
Get rid of a warning.
Merged from Ruby r27502, fixed by usa.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27502
-rw-r--r-- | ext/json/ext/generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/ext/generator.c b/ext/json/ext/generator.c index 3d36205..043be60 100644 --- a/ext/json/ext/generator.c +++ b/ext/json/ext/generator.c @@ -172,7 +172,7 @@ static void convert_UTF8_to_JSON_ASCII(FBuffer *buffer, VALUE string) fbuffer_append(buffer, "\\\"", 2); break; default: - fbuffer_append_char(buffer, ch); + fbuffer_append_char(buffer, (char)ch); break; } } else { |