Missing binary specifier.
authorCarl Hetherington <cth@carlh.net>
Thu, 18 Jun 2015 18:51:47 +0000 (19:51 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 18 Jun 2015 18:51:47 +0000 (19:51 +0100)
src/lib/image_examiner.cc

index b2f9623238814dd090f2d27cdcb7cfb7e774d0e1..cea5dfea7d1ea5addb5540a9cf0999ec735ccea0 100644 (file)
@@ -47,7 +47,7 @@ ImageExaminer::ImageExaminer (shared_ptr<const Film> film, shared_ptr<const Imag
        boost::filesystem::path path = content->path(0).string ();
        if (valid_j2k_file (path)) {
                boost::uintmax_t size = boost::filesystem::file_size (path);
-               FILE* f = fopen_boost (path, "r");
+               FILE* f = fopen_boost (path, "rb");
                if (!f) {
                        throw FileError ("Could not open file for reading", path);
                }