From 4fadb16b4785e2e3a64c84c8356657c1dd08207f Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Tue, 14 Oct 2003 23:31:12 +0000 Subject: [PATCH] warning fix Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1333 --- include/setup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;