diff options
Diffstat (limited to 'doc/examples/encrypt.cpp')
-rw-r--r-- | doc/examples/encrypt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/encrypt.cpp b/doc/examples/encrypt.cpp index b5568ca50..8f53c85e3 100644 --- a/doc/examples/encrypt.cpp +++ b/doc/examples/encrypt.cpp @@ -96,7 +96,7 @@ int main(int argc, char* argv[]) return 1; } - std::ifstream in(filename.c_str()); + std::ifstream in(filename.c_str(), std::ios::binary); if(!in) { std::cout << "ERROR: couldn't open " << filename << std::endl; |