Good idea!
For the whole series:
Reviewed-by: Eric Engestrom <[email protected]>
On Tue, Apr 12, 2016 at 07:37:43AM +0100, Jose Fonseca wrote:
> ---
> 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 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)
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev