summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.c
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-04-12 07:35:08 +0100
committerJose Fonseca <jfonseca@vmware.com>2016-04-12 16:56:15 +0100
commit7279098dc58d2d9d533900f1607aee76fcbbdab0 (patch)
treeb485bbb2f67bcb5a05a2cd8f724b0c7120f556b6 /src/mesa/main/imports.c
parent686b018ab313e3a95931676995be0e65dc7a9b75 (diff)
downloadexternal_mesa3d-7279098dc58d2d9d533900f1607aee76fcbbdab0.zip
external_mesa3d-7279098dc58d2d9d533900f1607aee76fcbbdab0.tar.gz
external_mesa3d-7279098dc58d2d9d533900f1607aee76fcbbdab0.tar.bz2
mesa: Use STATIC_ASSERT whenever possible.
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/mesa/main/imports.c')
-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 14cd588..fe54109 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)