summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-09-27 13:37:17 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-09-27 13:37:39 (GMT)
commite67d069d857d8a42f3bc0937cdfd6de994ed396e (patch)
tree23dc27d65fb022280399b3b1ffbd575bec73b0fd
parent5fde4756b926f19c13691905b0664121253dfcae (diff)
Fix 'error: cast from 'UMLObject*' to 'long unsigned int' loses precision' on cross compiling for windows x86_64.
-rw-r--r--umbrello/models/objectsmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/models/objectsmodel.cpp b/umbrello/models/objectsmodel.cpp
index 6e8cdff..03d23d1 100644
--- a/umbrello/models/objectsmodel.cpp
+++ b/umbrello/models/objectsmodel.cpp
@@ -160,7 +160,7 @@ QVariant ObjectsModel::data(const QModelIndex & index, int role) const
} else
return QLatin1String("no parent");
case 6:
- return QString::number((unsigned long) o, 16);
+ return QString::number((quintptr)o, 16);
default:
return QVariant();
}