kopia lustrzana https://gitlab.com/sane-project/backends
mustek: Fix [-Wshift-negative-value] compiler warning
rodzic
02ce2b5d46
commit
f8eb12b49d
|
@ -188,9 +188,9 @@ static SANE_String_Const halftone_list[] = {
|
||||||
|
|
||||||
/* Range used for brightness and contrast */
|
/* Range used for brightness and contrast */
|
||||||
static const SANE_Range percentage_range = {
|
static const SANE_Range percentage_range = {
|
||||||
-100 << SANE_FIXED_SCALE_SHIFT, /* minimum */
|
SANE_FIX(-100), /* minimum */
|
||||||
100 << SANE_FIXED_SCALE_SHIFT, /* maximum */
|
SANE_FIX(100), /* maximum */
|
||||||
1 << SANE_FIXED_SCALE_SHIFT /* quantization */
|
SANE_FIX(1) /* quantization */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* SCSI command buffers used by the backend */
|
/* SCSI command buffers used by the backend */
|
||||||
|
|
Ładowanie…
Reference in New Issue