config system no longer crashes
npos was negative, pos was unsigned
This commit is contained in:
parent
84e7d10f38
commit
284740c373
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue