diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-03-30 21:30:45 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-03-30 21:30:45 +0200 |
commit | ee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch) | |
tree | 58f05092be1a17a939e861f8cadcda1b6ca2ecef /backend/mustek_usb.c | |
parent | 0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff) | |
parent | fef76e17ed4c607ea73b81279f9ef1d7121be900 (diff) |
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'backend/mustek_usb.c')
-rw-r--r-- | backend/mustek_usb.c | 8 |
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); |