Turn on all warnings, except reorder, and fix remaining warnings

This commit is contained in:
Marc Di Luzio 2014-12-16 13:13:02 +00:00
parent 50ed84c1bd
commit 99cd93ae22
4 changed files with 10 additions and 3 deletions

View file

@ -19,7 +19,7 @@ COrder GetOrderFromString( const std::string& _order )
std::string order = _order;
COrder ret;
int pos = order.find(ORDER_DELIMITER);
size_t pos = order.find(ORDER_DELIMITER);
if( pos != std::string::npos )
{
const std::string order_unit = order.substr(0, pos);