kopia lustrzana https://gitlab.com/sane-project/backends
Fixed bug using wrong enum in x/y range check.
In the "check if x/y ranges are valid" section of the attach() function, the enum source_mode was being used instead of source_mode_dim. Since these two enums are very similar, it's not likely this change will affect anything, but it does fix the compiler warning.merge-requests/1/head
rodzic
bd7faf0917
commit
2903d6687c
|
@ -4226,7 +4226,7 @@ get_double ( &(result[48] ) ));
|
|||
|
||||
/* check if x/y ranges are valid :-((( */
|
||||
{
|
||||
source_mode mode;
|
||||
source_mode_dim mode;
|
||||
|
||||
for (mode = AV_NORMAL_DIM; mode < AV_SOURCE_MODE_DIM_LAST; ++ mode)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue