diff --git a/pkstrings/src/lib.rs b/pkstrings/src/lib.rs index f1ee4e7..5e8bd45 100644 --- a/pkstrings/src/lib.rs +++ b/pkstrings/src/lib.rs @@ -203,7 +203,7 @@ lazy_static! { (0x50, '@'), ]; - let mut vec: Vec> = [None; 255].to_vec(); + let mut vec: Vec> = [None; 256].to_vec(); for (k, v) in tmp.iter() { vec[*k] = Some(*v); }