diff --git a/include/setup.h b/include/setup.h index 0aa9bb46..f66b619c 100644 --- a/include/setup.h +++ b/include/setup.h @@ -37,10 +37,10 @@ public: bool FindHex(char * name,int & value,bool remove=false); bool FindInt(char * name,int & value,bool remove=false); bool FindString(char * name,std::string & value,bool remove=false); - bool FindCommand(int which,std::string & value); + bool FindCommand(unsigned int which,std::string & value); bool FindStringBegin(char * begin,std::string & value, bool remove=false); bool FindStringRemain(char * name,std::string & value); - int GetCount(void); + unsigned int GetCount(void); private: typedef std::list::iterator cmd_it; std::list cmds;