1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/applications/office/kmymoney/seqaccessmgrtest.patch
exi 18ba3297f0 Fix kmymoney test build failure on 32bit
(cherry picked from commit f4618e14b9)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-09-13 09:45:15 +02:00

27 lines
1.2 KiB
Diff

Fix tests for 32bit builds until we can bring these upstream
diff --git a/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp b/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp
index dcb4b4a..e803203 100644
--- a/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp
+++ b/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp
@@ -58,13 +58,13 @@ void MyMoneySeqAccessMgrTest::testEmptyConstructor()
QCOMPARE(m->m_nextPayeeID, 0ul);
QCOMPARE(m->m_nextScheduleID, 0ul);
QCOMPARE(m->m_nextReportID, 0ul);
- QCOMPARE(m->m_institutionList.count(), 0ul);
- QCOMPARE(m->m_accountList.count(), 5ul);
- QCOMPARE(m->m_transactionList.count(), 0ul);
- QCOMPARE(m->m_transactionKeys.count(), 0ul);
- QCOMPARE(m->m_payeeList.count(), 0ul);
- QCOMPARE(m->m_tagList.count(), 0ul);
- QCOMPARE(m->m_scheduleList.count(), 0ul);
+ QCOMPARE(m->m_institutionList.count(), (size_t)0);
+ QCOMPARE(m->m_accountList.count(), (size_t)5);
+ QCOMPARE(m->m_transactionList.count(), (size_t)0);
+ QCOMPARE(m->m_transactionKeys.count(), (size_t)0);
+ QCOMPARE(m->m_payeeList.count(), (size_t)0);
+ QCOMPARE(m->m_tagList.count(), (size_t)0);
+ QCOMPARE(m->m_scheduleList.count(), (size_t)0);
QCOMPARE(m->m_dirty, false);
QCOMPARE(m->m_creationDate, QDate::currentDate());