summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-04-12 07:35:08 +0100
committerJose Fonseca <[email protected]>2016-04-12 16:56:15 +0100
commit7279098dc58d2d9d533900f1607aee76fcbbdab0 (patch)
treeb485bbb2f67bcb5a05a2cd8f724b0c7120f556b6 /src/mesa
parent686b018ab313e3a95931676995be0e65dc7a9b75 (diff)
mesa: Use STATIC_ASSERT whenever possible.
Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/imports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 14cd58870f7..fe54109322d 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -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)