From 497f4bee0c7e548249b25251051763fa7f5bf250 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 14 May 2015 14:23:20 -0400 Subject: 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. --- src/video_core/pica.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video_core/pica.h') 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 { -- cgit v1.2.3