summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-03-10 08:18:27 -0600
committerBrian Paul <[email protected]>2015-03-11 09:34:07 -0600
commit14ba6c9325229270d3f04c13253ca547f9a216ff (patch)
treea79f350533b191d2230b1517cbb8ecfe43bebb91 /src/mesa/drivers/dri/i915
parent6ac1bc90c4a7a6f32901a9782e14b090f6fe5270 (diff)
i915: add parens to silence operator precedence warning
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/i915_debug_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_debug_fp.c b/src/mesa/drivers/dri/i915/i915_debug_fp.c
index 3f099022640..d107c5afb38 100644
--- a/src/mesa/drivers/dri/i915/i915_debug_fp.c
+++ b/src/mesa/drivers/dri/i915/i915_debug_fp.c
@@ -303,7 +303,7 @@ i915_disassemble_program(const GLuint * program, GLuint sz)
printf("\t\tBEGIN\n");
- assert(program[0] & 0x1ff + 2 == sz);
+ assert((program[0] & 0x1ff) + 2 == sz);
program++;
for (i = 1; i < sz; i += 3, program += 3) {