diff --git a/game/server/application/SwgGameServer/src/shared/core/CSHandler.cpp b/game/server/application/SwgGameServer/src/shared/core/CSHandler.cpp index 6b1d615d..10376750 100644 --- a/game/server/application/SwgGameServer/src/shared/core/CSHandler.cpp +++ b/game/server/application/SwgGameServer/src/shared/core/CSHandler.cpp @@ -85,17 +85,17 @@ namespace CSHandlerNamespace unsigned pos; // where we stop looking unsigned lastpos; // the last character in our argument. // bounds checking. - if( position < 0 || position >= input.length() ) + if( position < 0 || position >= (int) input.length() ) { return ""; } // skip whitespace - while( input[ position ] == ' ' && position < input.length() ) + while( input[ position ] == ' ' && position < (int) input.length() ) { ++position; } - if( position == input.length() ) + if( position == (int) input.length() ) return ""; // see if the first character is a quote. if( input[ position ] == '"' )