diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:58 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:58 +0200 |
commit | d087d778ffb62e2713cb848540bcc819470365bd (patch) | |
tree | d69692a274dd1c7d0672e6bb7155a0fc106f9d49 /backend/pnm.c | |
parent | c8bd2513ecba169cff44c09c8058c36987357b18 (diff) | |
parent | 3759ce55ba79b8d3b9d8ed247a252273ee7dade3 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'backend/pnm.c')
-rw-r--r-- | backend/pnm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/pnm.c b/backend/pnm.c index ff4e2f2..1d1f4fd 100644 --- a/backend/pnm.c +++ b/backend/pnm.c @@ -2,7 +2,7 @@ Copyright (C) 1996, 1997 Andreas Beck Copyright (C) 2000, 2001 Michael Herder <crapsite@gmx.net> Copyright (C) 2001, 2002 Henning Meier-Geinitz <henning@meier-geinitz.de> - Copyright (C) 2008 Stéphane Voltz <stef.dev@free.fr> + Copyright (C) 2008 Stéphane Voltz <stef.dev@free.fr> This file is part of the SANE package. This program is free software; you can redistribute it and/or @@ -106,9 +106,9 @@ static const SANE_Word resbit_list[] = { 200, 210, 225, 240, 255, 270, 285, 300 }; static const SANE_Range percentage_range = { - -100 << SANE_FIXED_SCALE_SHIFT, /* minimum */ - 100 << SANE_FIXED_SCALE_SHIFT, /* maximum */ - 0 << SANE_FIXED_SCALE_SHIFT /* quantization */ + SANE_FIX(-100), /* minimum */ + SANE_FIX(100), /* maximum */ + SANE_FIX(0) /* quantization */ }; static const SANE_Range gamma_range = { 0, /* minimum */ |