Explorar el Código

Fixed type issue in cfg.cpp.

Danny N hace 11 años
padre
commit
36e3b0864f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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());