diff options
author | Lioncash <mathew1800@gmail.com> | 2015-05-14 14:23:20 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-05-14 14:23:23 -0400 |
commit | 497f4bee0c7e548249b25251051763fa7f5bf250 (patch) | |
tree | 6fe946485249d3bdf18e22b713649a449da5db3f /src | |
parent | 773b1ef6bffbc7b9c8d55b1f1d741e6aed7bcd88 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/pica.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h index a53429716..b28b0f864 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -616,7 +616,7 @@ struct Regs { } 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 { |