src/messagelog.cpp

changeset 498
791c831c8020
parent 493
16766ac1bbd9
child 503
bebe09014dd6
--- a/src/messagelog.cpp	Sat Oct 05 12:51:13 2013 +0300
+++ b/src/messagelog.cpp	Sat Oct 05 15:18:47 2013 +0300
@@ -23,7 +23,7 @@
 #include "gui.h"
 #include "moc_messagelog.cpp"
 
-static const unsigned int g_maxMessages = 5;
+static const int g_maxMessages = 5;
 static const int g_expiry = 5;
 static const int g_fadeTime = 500; // msecs
 
@@ -93,7 +93,7 @@
 
 	bool changed = false;
 
-	for (uint i = 0; i < m_lines.size(); ++i)
+	for (int i = 0; i < m_lines.size(); ++i)
 	{	bool lineChanged;
 
 		if (!m_lines[i].update (lineChanged))

mercurial