aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorGravatar Lioncash <mathew1800@gmail.com>2015-05-14 14:23:20 -0400
committerGravatar Lioncash <mathew1800@gmail.com>2015-05-14 14:23:23 -0400
commit497f4bee0c7e548249b25251051763fa7f5bf250 (patch)
tree6fe946485249d3bdf18e22b713649a449da5db3f /src/video_core/pica.h
parent773b1ef6bffbc7b9c8d55b1f1d741e6aed7bcd88 (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/video_core/pica.h')
-rw-r--r--src/video_core/pica.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index a5342971..b28b0f86 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 {