From e5e63f306af6c2f4d5ff4c458c1e5cae91963d86 Mon Sep 17 00:00:00 2001 From: Ralph Little Date: Sun, 22 Mar 2020 12:40:17 -0700 Subject: [PATCH] test: extra brackets to silence cppcheck warning. --- backend/test-picture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/test-picture.c b/backend/test-picture.c index 46407dcd6..66374c74a 100644 --- a/backend/test-picture.c +++ b/backend/test-picture.c @@ -155,8 +155,8 @@ init_picture_buffer (Test_Device * test_device, SANE_Byte ** buffer, if (xfull < ppl) { if ((((SANE_Word) (xfull / p_size)) % 2) - ^ !(line_count > - (SANE_Word) (p_size + 0.5))) + ^ (!(line_count > + (SANE_Word) (p_size + 0.5)))) color = 0x0; else color = 0x1;