mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
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:
parent
686b018ab3
commit
7279098dc5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue