X-Git-Url: http://git.tdb.fi/?p=gldbg.git;a=blobdiff_plain;f=source%2Fcommandinterpreter.cpp;h=3227d40c42788164f4f0066468a5cc654e27135f;hp=b8a10a99d03cb0f30a4048c4754f370d42f09f8b;hb=3fce21d3193c09840cfbaa96fe05b00b7444fd66;hpb=7cc7ebcdb800bd4d88e4fccff8459003599e71d7 diff --git a/source/commandinterpreter.cpp b/source/commandinterpreter.cpp index b8a10a9..3227d40 100644 --- a/source/commandinterpreter.cpp +++ b/source/commandinterpreter.cpp @@ -61,7 +61,7 @@ CommandInterpreter::~CommandInterpreter() void CommandInterpreter::execute(const string &cmd) { - unsigned space = cmd.find(' '); + string::size_type space = cmd.find(' '); string name = cmd.substr(0, space); CommandMap::const_iterator i = commands.lower_bound(name); if(i==commands.end() || i->first.compare(0, name.size(), name))