summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-18 19:51:47 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-18 19:51:47 +0100
commit1c4ab94645350d264a8cee1c131c9df1b1ffb958 (patch)
tree65d5f791a29eabd96bc1e3c455a75085967d4db9 /src
parent24947de661db9a5c637abfd6202d5a20cb9ca166 (diff)
Missing binary specifier.
Diffstat (limited to 'src')
-rw-r--r--src/lib/image_examiner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/image_examiner.cc b/src/lib/image_examiner.cc
index b2f962323..cea5dfea7 100644
--- a/src/lib/image_examiner.cc
+++ b/src/lib/image_examiner.cc
@@ -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);
}