diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-08 15:57:07 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-08 15:57:07 +0000 |
| commit | 80ba409cd8965d6f22d83873fa8553f7b8ad89d5 (patch) | |
| tree | f8b882d800c249786d0d62ad018b11d202afcae1 /regex.c | |
| parent | f6c331a41c116302ecaf3ef7f173fa98e66288db (diff) | |
| download | ruby-80ba409cd8965d6f22d83873fa8553f7b8ad89d5.tar.gz ruby-80ba409cd8965d6f22d83873fa8553f7b8ad89d5.tar.xz ruby-80ba409cd8965d6f22d83873fa8553f7b8ad89d5.zip | |
* regex.c (slow_match): avoid GCC 3.4.x warnings.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
| -rw-r--r-- | regex.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |
