From f5a3f915661343460da554807c173245844768a1 Mon Sep 17 00:00:00 2001 From: Dwachs Date: Sun, 20 Oct 2013 11:14:52 +0000 Subject: [PATCH] (Ters) use std::string::size_type git-svn-id: svn://tron.homeunix.org/simutrans/simutrans/trunk@6837 8aca7d54-2c30-db11-9de9-000461428c89 --- utils/simstring.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/simstring.cc b/utils/simstring.cc index 3f4b9d3ce60..2b5ffef240c 100644 --- a/utils/simstring.cc +++ b/utils/simstring.cc @@ -300,7 +300,7 @@ std::string trim(const std::string &str_) std::string str(str_); // left trim - int pos = str.find_first_not_of(" \t"); + std::string::size_type pos = str.find_first_not_of(" \t"); if( pos && pos != std::string::npos ) { str = str.substr(pos); }