changeset 1967:e1b377a42c54 draft

fix
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Tue, 18 Feb 2014 17:12:15 +0900
parents d45b7223515b
children d1cffd6d88f6
files example/regex_mas/main.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/example/regex_mas/main.cc	Thu Feb 13 14:57:04 2014 +0900
+++ b/example/regex_mas/main.cc	Tue Feb 18 17:12:15 2014 +0900
@@ -238,7 +238,7 @@
     }
 
     for(int j = 0; j < search_word_len - 1; ++j){
-        skip_table[(int)search_word[j]] = search_word_len - j - 1;
+        skip_table[search_word[j]] = search_word_len - j - 1;
     }
     return skip_table;
 }