summaryrefslogtreecommitdiff
path: root/src/tests/bzip2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/bzip2.cpp')
-rw-r--r--src/tests/bzip2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/bzip2.cpp b/src/tests/bzip2.cpp
index de7c034..77dc064 100644
--- a/src/tests/bzip2.cpp
+++ b/src/tests/bzip2.cpp
@@ -19,10 +19,10 @@ int main( int argc, char *argv[] )
19 char buf[1024]; 19 char buf[1024];
20 size_t nRead; 20 size_t nRead;
21 21
22 Bu::File f( argv[0], "wb" ); 22 Bu::File f( argv[0], Bu::File::Write );
23 Bu::BZip2 bz2( f ); 23 Bu::BZip2 bz2( f );
24 24
25 Bu::File fin( argv[1], "rb"); 25 Bu::File fin( argv[1], Bu::File::Read );
26 26
27 for(;;) 27 for(;;)
28 { 28 {