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