diff --git a/function_sampler/fsm/fsm_utils/src/tokenizer_index.rs b/function_sampler/fsm/fsm_utils/src/tokenizer_index.rs index 3bfd7fa..6c05be2 100644 --- a/function_sampler/fsm/fsm_utils/src/tokenizer_index.rs +++ b/function_sampler/fsm/fsm_utils/src/tokenizer_index.rs @@ -48,9 +48,9 @@ use crate::types::build_dfa; fn walk_fsm( fsm_info: &FSMInfo, input_string: &str, - start_state: i64, + start_state: u32, full_match: bool, -) -> Vec { +) -> Vec { let mut state = start_state; let mut accepted_states = Vec::new(); let mut last_final_idx: Option = None;