mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 23:02:47 +01:00
pica: Add the ULL specifier in IsDefaultAttribute
This is necessary otherwise there are warnings about a 32-bit result being casted to a 64-bit value.
This commit is contained in:
parent
773b1ef6bf
commit
497f4bee0c
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ struct Regs {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool IsDefaultAttribute(int id) const {
|
inline bool IsDefaultAttribute(int id) const {
|
||||||
return (id >= 12) || (attribute_mask & (1 << id)) != 0;
|
return (id >= 12) || (attribute_mask & (1ULL << id)) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline int GetNumTotalAttributes() const {
|
inline int GetNumTotalAttributes() const {
|
||||||
|
|
Loading…
Reference in a new issue