sane-backends/sane-genesys-s390x-ftbfs.patch

14 lines
435 B
Diff
Raw Normal View History

2020-02-10 09:14:56 +00:00
diff --git a/backend/genesys/low.cpp b/backend/genesys/low.cpp
index 7937fcc..4020456 100644
--- a/backend/genesys/low.cpp
+++ b/backend/genesys/low.cpp
@@ -539,7 +539,7 @@ Image read_unshuffled_image_from_scanner(Genesys_Device* dev, const ScanSession&
}
#ifdef WORDS_BIGENDIAN
- if (depth == 16) {
+ if (session.params.depth == 16) {
dev->pipeline.push_node<ImagePipelineNodeSwap16BitEndian>();
}
#endif