diff widgets/LayerTree.cpp @ 908:4a578a360011 cxx11

More type fixes
author Chris Cannam
date Tue, 10 Mar 2015 13:22:10 +0000
parents e4773943c9c1
children a34a2a25907c
line wrap: on
line diff
--- a/widgets/LayerTree.cpp	Tue Mar 10 10:31:27 2015 +0000
+++ b/widgets/LayerTree.cpp	Tue Mar 10 13:22:10 2015 +0000
@@ -253,7 +253,7 @@
 int
 ModelMetadataModel::rowCount(const QModelIndex &parent) const
 {
-    if (!parent.isValid()) return m_models.size();
+    if (!parent.isValid()) return int(m_models.size());
     return 0;
 }