summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-07 15:36:51 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 11:24:10 -0800
commit04e39704e2430574d9307b9fc30d07898e168e95 (patch)
treec33422844c76a1b07276fc0acb77bf7d645bfe33 /tests
parentbeb0bc7a1d79a652ef002c37a282ee390ae92f0b (diff)
downloadsubsurface-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.cpp2
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);
}