diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-07 15:36:51 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-07 11:24:10 -0800 |
commit | 04e39704e2430574d9307b9fc30d07898e168e95 (patch) | |
tree | c33422844c76a1b07276fc0acb77bf7d645bfe33 /tests | |
parent | beb0bc7a1d79a652ef002c37a282ee390ae92f0b (diff) | |
download | subsurface-04e39704e2430574d9307b9fc30d07898e168e95.tar.gz |
Fix annoyances on file.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testparse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp index 7a65a0105..5528d0df2 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -364,7 +364,7 @@ void TestParse::testParseDLD() QString filename = SUBSURFACE_SOURCE "/dives/TestDiveDivelogsDE.DLD"; QVERIFY(readfile(filename.toLatin1().data(), &mem) > 0); - QVERIFY(try_to_open_zip(filename.toLatin1().data(), &mem) > 0); + QVERIFY(try_to_open_zip(filename.toLatin1().data()) > 0); fprintf(stderr, "number of dives from DLD: %d \n", dive_table.nr); } |