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

More type fixes
author Chris Cannam
date Tue, 10 Mar 2015 13:22:10 +0000
parents d632a1e87018
children a34a2a25907c
line wrap: on
line diff
--- a/widgets/ListInputDialog.cpp	Tue Mar 10 10:31:27 2015 +0000
+++ b/widgets/ListInputDialog.cpp	Tue Mar 10 13:22:10 2015 +0000
@@ -67,7 +67,7 @@
 {
     for (size_t i = 0; i < m_radioButtons.size(); ++i) {
         if (m_radioButtons[i]->isChecked()) {
-            return m_strings[i];
+            return m_strings[int(i)];
         }
     }
     return "";