mesa: Use STATIC_ASSERT whenever possible.
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
@@ -262,7 +262,7 @@ ffsll(long long int val)
|
||||
{
|
||||
int bit;
|
||||
|
||||
assert(sizeof(val) == 8);
|
||||
STATIC_ASSERT(sizeof(val) == 8);
|
||||
|
||||
bit = ffs((int) val);
|
||||
if (bit != 0)
|
||||
|
||||
Reference in New Issue
Block a user