diff widgets/TipDialog.cpp @ 946:36cddc3de023 alignment_view

Merge from default branch
author Chris Cannam
date Mon, 20 Apr 2015 09:19:52 +0100
parents 4a578a360011
children a34a2a25907c
line wrap: on
line diff
--- a/widgets/TipDialog.cpp	Thu Jan 15 16:00:53 2015 +0000
+++ b/widgets/TipDialog.cpp	Mon Apr 20 09:19:52 2015 +0100
@@ -105,7 +105,7 @@
 TipDialog::previous()
 {
     if (--m_tipNumber < 0) {
-        m_tipNumber = m_tips.size() - 1;
+        m_tipNumber = int(m_tips.size()) - 1;
     }
 
     showTip();