diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-18 19:50:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-18 19:50:19 +0100 |
| commit | 13db82c73af330ffbc7a813cd38c5bef36d5b54c (patch) | |
| tree | 0dcd6aac7e706d4fba79835d36b55412066e1f2e /test/recovery_test.cc | |
| parent | 08f1afc562c2f5efeca88371cc4e7ced3b2f36a2 (diff) | |
Fix several missing binary specifiers to fopen.
Diffstat (limited to 'test/recovery_test.cc')
| -rw-r--r-- | test/recovery_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recovery_test.cc b/test/recovery_test.cc index 754a49e2..566bbf21 100644 --- a/test/recovery_test.cc +++ b/test/recovery_test.cc @@ -64,7 +64,7 @@ BOOST_AUTO_TEST_CASE (recovery) boost::filesystem::resize_file ("build/test/baz/video2.mxf", 16384 + 353 * 11); { - FILE* f = fopen ("build/test/baz/video2.mxf", "r+"); + FILE* f = fopen ("build/test/baz/video2.mxf", "rb+"); rewind (f); char zeros[256]; memset (zeros, 0, 256); |
