config system no longer crashes

npos was negative, pos was unsigned
This commit is contained in:
punkrockguy318 2008-06-10 17:49:01 +00:00
parent 84e7d10f38
commit 284740c373
1 changed files with 1 additions and 1 deletions

View File

@ -572,7 +572,7 @@ Config::parse(int argc,
int
Config::_load()
{
unsigned int pos, eqPos;
signed int pos, eqPos;
std::fstream config;
std::map<std::string, int>::iterator int_i;
std::map<std::string, double>::iterator dbl_i;