diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | regex.c | 6 |
2 files changed, 7 insertions, 4 deletions
@@ -1,3 +1,7 @@ +Tue Nov 9 00:53:53 2004 WATANABE Hirofumi <eban@ruby-lang.org> + + * regex.c (slow_match): avoid GCC 3.4.x warnings. + Tue Nov 9 00:50:06 2004 Dave Thomas <dave@pragprog.com> * lib/rdoc/rdoc.rb: Change version numbering of RDoc and ri @@ -7,7 +11,6 @@ Mon Nov 8 23:38:35 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> * lib/drb/extservm.rb: add DRb::ExtServManager#uri=. [ruby-dev:24743] - Mon Nov 8 22:20:19 2004 Dave Thomas <dave@pragprog.com> * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_class): @@ -2623,9 +2623,9 @@ insert_op_2(op, there, current_end, num_1, num_2) #define trans_eq(c1, c2, translate) (translate?(translate[c1]==translate[c2]):((c1)==(c2))) static int slow_match(little, lend, big, bend, translate) - unsigned char *little, *lend; - unsigned char *big, *bend; - unsigned char *translate; + const unsigned char *little, *lend; + const unsigned char *big, *bend; + const unsigned char *translate; { int c; |