mesa: Fix compiler warnings when ALIGN's alignment is "1 << value".
authorEric Anholt <eric@anholt.net>
Tue, 8 Oct 2013 07:23:29 +0000 (00:23 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 9 Oct 2013 18:28:19 +0000 (11:28 -0700)
commitbfe6e5dda5fcf65a3941ed4cca5eea755421979a
tree033744e22465d66a3ef28cc81d5b55766723e737
parent791550aa8e70dd5e0bdd5a996ef66b5964cf9095
mesa: Fix compiler warnings when ALIGN's alignment is "1 << value".

We hadn't run into order of operation warnings before, apparently, since
addition is so low on the order.

Cc: "9.1 9.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/macros.h