Parcourir la source

Fixed type issue in cfg.cpp.

Danny N il y a 11 ans
Parent
commit
36e3b0864f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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());