From 752e053a1df0446b6ca20815b1976dd322d736bd Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 1 Sep 2008 16:22:49 +0000 Subject: * transcode_data.h (BYTE_LOOKUP): change to uintptr_t array. (BYTE_LOOKUP_BASE): follow the type change. (BYTE_LOOKUP_INFO): ditto. (PType): ditto. (rb_transcoding): ditto. * tool/transcode-tblgen.rb: follow the type change. * transcode.c: ditto. * enc/trans/newline.trans: ditto. * enc/trans/iso2022.trans: ditto. * enc/trans/utf_16_32.trans: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- transcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'transcode.c') diff --git a/transcode.c b/transcode.c index a67565e3e4..f4409a39ab 100644 --- a/transcode.c +++ b/transcode.c @@ -513,7 +513,7 @@ transcode_restartable0(const unsigned char **in_pos, unsigned char **out_pos, SUSPEND(econv_source_buffer_empty, 5); } next_byte = (unsigned char)*in_p++; - next_table = (const BYTE_LOOKUP *)next_info; + next_table = next_info; goto follow_byte; case ZERObt: /* drop input */ continue; -- cgit v1.2.3