From 7279098dc58d2d9d533900f1607aee76fcbbdab0 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Tue, 12 Apr 2016 07:35:08 +0100 Subject: [PATCH] mesa: Use STATIC_ASSERT whenever possible. Reviewed-by: Eric Engestrom Reviewed-by: Roland Scheidegger --- src/mesa/main/imports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2