summaryrefslogtreecommitdiff
path: root/backend/pnm.c
diff options
context:
space:
mode:
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 */