From 04e39704e2430574d9307b9fc30d07898e168e95 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 7 Mar 2016 15:36:51 -0300 Subject: Fix annoyances on file.c Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- tests/testparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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); } -- cgit v1.2.3-70-g09d2