From bf3edb979f48529322a8bcf94d4f0b9a702e9cc3 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 22 Sep 2009 07:11:45 +0000 Subject: [PATCH] * tool/transcode-tblgen.rb (transcode_generated_code): fixed type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ tool/transcode-tblgen.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1ef2f1aaaa..ec0e533d4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Sep 22 16:11:42 2009 Nobuyoshi Nakada + + * tool/transcode-tblgen.rb (transcode_generated_code): fixed type. + Tue Sep 22 10:29:06 2009 Tanaka Akira * enum.c (enum_chunk): new method Enumerable#chunk. diff --git a/tool/transcode-tblgen.rb b/tool/transcode-tblgen.rb index a4bd766c2e..19d4fe0927 100755 --- a/tool/transcode-tblgen.rb +++ b/tool/transcode-tblgen.rb @@ -670,7 +670,7 @@ def transcode_generated_code "\#define TRANSCODE_TABLE_INFO " + "#{OUTPUT_PREFIX}byte_array, #{TRANSCODE_GENERATED_BYTES_CODE.length}, " + "#{OUTPUT_PREFIX}word_array, #{TRANSCODE_GENERATED_WORDS_CODE.length}, " + - "sizeof(unsigned int)\n" + + "((int)sizeof(unsigned int))\n" + TRANSCODE_GENERATED_TRANSCODER_CODE end