From 582a3b89877c149f5122f414abc6a75127eb553a Mon Sep 17 00:00:00 2001 From: Olaf Meeuwissen Date: Mon, 26 Jun 2017 12:09:06 +0900 Subject: [PATCH] s9036: Fix [-Wshift-negative-value] compiler warning --- backend/s9036.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/s9036.c b/backend/s9036.c index 4b0022a9f..aa18df748 100644 --- a/backend/s9036.c +++ b/backend/s9036.c @@ -654,9 +654,9 @@ init_options (S9036_Scanner * s) static const SANE_Range percentage_range = { - -100 << SANE_FIXED_SCALE_SHIFT, /* minimum */ - 100 << SANE_FIXED_SCALE_SHIFT, /* maximum */ - 1 << SANE_FIXED_SCALE_SHIFT /* quantization */ + SANE_FIX(-100), /* minimum */ + SANE_FIX(100), /* maximum */ + SANE_FIX(1) /* quantization */ }; static const SANE_Range automatic_adjust_range =