mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Use an unsigned byte, not char
This commit is contained in:
parent
012b347284
commit
29e1aae3fb
@ -242,7 +242,7 @@ bool isLimitedTransition(int from, int to, int maxshift) {
|
|||||||
|
|
||||||
// Fill a bit mask
|
// Fill a bit mask
|
||||||
template<class Mask>
|
template<class Mask>
|
||||||
void maskFill(Mask &m, char c) {
|
void maskFill(Mask &m, u8 c) {
|
||||||
memset(&m, c, sizeof(m));
|
memset(&m, c, sizeof(m));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user