pkstrings: increase array size for 'index out of bounds'
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
93d9994859
commit
0444350885
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ lazy_static! {
|
||||||
(0x50, '@'),
|
(0x50, '@'),
|
||||||
];
|
];
|
||||||
|
|
||||||
let mut vec: Vec<Option<char>> = [None; 255].to_vec();
|
let mut vec: Vec<Option<char>> = [None; 256].to_vec();
|
||||||
for (k, v) in tmp.iter() {
|
for (k, v) in tmp.iter() {
|
||||||
vec[*k] = Some(*v);
|
vec[*k] = Some(*v);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue