Browse Source

Fixed type issue in cfg.cpp.

Danny N 10 years ago
parent
commit
36e3b0864f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cfg.cpp

+ 1 - 1
cfg.cpp

@@ -144,7 +144,7 @@ Cfg::~Cfg() {
  */
 bool Cfg::readConf(string configfile) {
 	int n = -1;
-	unsigned int pos = 0;
+	size_t pos = 0;
 	string line, next, op, fn(configfile);
 	map<string,string>::iterator it;
 	ifstream cfgfile(fn.c_str());