summaryrefslogtreecommitdiff
path: root/backend/pnm.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 17:00:20 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 17:00:20 +0200
commit3759ce55ba79b8d3b9d8ed247a252273ee7dade3 (patch)
treed69692a274dd1c7d0672e6bb7155a0fc106f9d49 /backend/pnm.c
parentc8bd2513ecba169cff44c09c8058c36987357b18 (diff)
parent1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (diff)
Update upstream source from tag 'upstream/1.0.28'
Update to upstream version '1.0.28' with Debian dir ec5bb298266630fc3801ff6dc0c258f6df7ba979
Diffstat (limited to 'backend/pnm.c')
-rw-r--r--backend/pnm.c8
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 */