kopia lustrzana https://gitlab.com/sane-project/backends
Remove unnecessary cast
rodzic
fff1c5962a
commit
7dc416b7ae
|
@ -617,7 +617,7 @@ set_automatic_value (Rts8891_Session * s, int option, SANE_Int * myinfo)
|
||||||
{
|
{
|
||||||
SANE_Status status = SANE_STATUS_GOOD;
|
SANE_Status status = SANE_STATUS_GOOD;
|
||||||
SANE_Int i, min;
|
SANE_Int i, min;
|
||||||
SANE_Word *dpi_list;
|
const SANE_Word *dpi_list;
|
||||||
|
|
||||||
switch (option)
|
switch (option)
|
||||||
{
|
{
|
||||||
|
@ -639,7 +639,7 @@ set_automatic_value (Rts8891_Session * s, int option, SANE_Int * myinfo)
|
||||||
break;
|
break;
|
||||||
case OPT_RESOLUTION:
|
case OPT_RESOLUTION:
|
||||||
/* we set up to the lowest available dpi value */
|
/* we set up to the lowest available dpi value */
|
||||||
dpi_list = (SANE_Word *) s->opt[OPT_RESOLUTION].constraint.word_list;
|
dpi_list = s->opt[OPT_RESOLUTION].constraint.word_list;
|
||||||
min = 65536;
|
min = 65536;
|
||||||
for (i = 1; i < dpi_list[0]; i++)
|
for (i = 1; i < dpi_list[0]; i++)
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue