summaryrefslogtreecommitdiff
path: root/backend/mustek_usb.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 16:59:49 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 16:59:49 +0200
commit1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (patch)
treed78102ce30207c63e7608eeba743efd680c888dc /backend/mustek_usb.c
parent58912f68c2489bcee787599837447e0d64dfd61a (diff)
New upstream version 1.0.28upstream/1.0.28
Diffstat (limited to 'backend/mustek_usb.c')
-rw-r--r--backend/mustek_usb.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/backend/mustek_usb.c b/backend/mustek_usb.c
index 58dcc58..d048fef 100644
--- a/backend/mustek_usb.c
+++ b/backend/mustek_usb.c
@@ -43,7 +43,7 @@
whether to permit this exception to apply to your modifications.
If you do not wish that, delete this exception notice.
- This file implements a SANE backend for Mustek 1200UB and similar
+ This file implements a SANE backend for Mustek 1200UB and similar
USB flatbed scanners. */
#define BUILD 18
@@ -100,10 +100,6 @@ static SANE_Int new_dev_alloced;
static SANE_String_Const mode_list[6];
-static const SANE_Range char_range = {
- -127, 127, 1
-};
-
static const SANE_Range u8_range = {
0, /* minimum */
255, /* maximum */
@@ -1533,7 +1529,7 @@ sane_read (SANE_Handle handle, SANE_Byte * buf, SANE_Int max_len,
*len = MIN (max_len, (SANE_Int) s->hw->scan_buffer_len);
memcpy (buf, s->hw->scan_buffer_start, *len);
DBG (4, "sane_read: exit, read %d bytes from scan_buffer; "
- "%ld bytes remaining\n", *len,
+ "%ld bytes remaining\n", *len,
(long int) (s->hw->scan_buffer_len - *len));
s->hw->scan_buffer_len -= (*len);
s->hw->scan_buffer_start += (*len);