Quellcode durchsuchen

Fixed type issue in cfg.cpp.

Danny N vor 11 Jahren
Ursprung
Commit
36e3b0864f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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());