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