]> git.tdb.fi Git - gldbg.git/blobdiff - source/commandinterpreter.cpp
Fix things for 64-bit systems
[gldbg.git] / source / commandinterpreter.cpp
index b8a10a99d03cb0f30a4048c4754f370d42f09f8b..3227d40c42788164f4f0066468a5cc654e27135f 100644 (file)
@@ -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))