summaryrefslogtreecommitdiffstats
path: root/qt-models/divetripmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divetripmodel.cpp')
-rw-r--r--qt-models/divetripmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp
index d384b1913..20bdc3666 100644
--- a/qt-models/divetripmodel.cpp
+++ b/qt-models/divetripmodel.cpp
@@ -94,10 +94,10 @@ QVariant DiveItem::data(int column, int role) const
Q_ASSERT(dive != NULL);
switch (column) {
case NR:
- retVal = (qulonglong)dive->when;
+ retVal = (qlonglong)dive->when;
break;
case DATE:
- retVal = (qulonglong)dive->when;
+ retVal = (qlonglong)dive->when;
break;
case RATING:
retVal = dive->rating;