diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-18 19:51:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-18 19:51:47 +0100 |
| commit | 1c4ab94645350d264a8cee1c131c9df1b1ffb958 (patch) | |
| tree | 65d5f791a29eabd96bc1e3c455a75085967d4db9 /src/lib | |
| parent | 24947de661db9a5c637abfd6202d5a20cb9ca166 (diff) | |
Missing binary specifier.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/image_examiner.cc | 2 |
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); } |
