src/ldconfig.cpp

changeset 498
791c831c8020
parent 496
d6cbf21af8fb
child 508
7ace3537a560
--- a/src/ldconfig.cpp	Sat Oct 05 12:51:13 2013 +0300
+++ b/src/ldconfig.cpp	Sat Oct 05 15:18:47 2013 +0300
@@ -131,7 +131,7 @@
 
 // =============================================================================
 // -----------------------------------------------------------------------------
-bool LDConfigParser::getToken (str& val, const ushort pos)
+bool LDConfigParser::getToken (str& val, const int pos)
 {	if (pos >= m_tokens.size())
 		return false;
 
@@ -154,7 +154,7 @@
 // =============================================================================
 // -----------------------------------------------------------------------------
 bool LDConfigParser::findToken (short& result, char const* needle, short args)
-{	for (ushort i = 0; i < (m_tokens.size() - args); ++i)
+{	for (int i = 0; i < (m_tokens.size() - args); ++i)
 	{	if (m_tokens[i] == needle)
 		{	result = i;
 			return true;

mercurial