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

More type fixes
author Chris Cannam
date Tue, 10 Mar 2015 13:22:10 +0000
parents 1a0dfcbffaf1
children a34a2a25907c
line wrap: on
line diff
--- a/widgets/TipDialog.cpp	Tue Mar 10 10:31:27 2015 +0000
+++ b/widgets/TipDialog.cpp	Tue Mar 10 13:22:10 2015 +0000
@@ -105,7 +105,7 @@
 TipDialog::previous()
 {
     if (--m_tipNumber < 0) {
-        m_tipNumber = m_tips.size() - 1;
+        m_tipNumber = int(m_tips.size()) - 1;
     }
 
     showTip();