COMP: Using the proper type for local variables can eliminate compiler warnings.

This commit is contained in:
David Cole 2008-11-26 15:41:16 -05:00
parent ceaef94ccc
commit 306d517e82
1 changed files with 1 additions and 1 deletions

View File

@ -1612,7 +1612,7 @@ void cmSystemTools::RestoreEnv(const std::vector<std::string>& env)
{
std::string var(*eit);
int pos = var.find("=");
std::string::size_type pos = var.find("=");
if (pos != std::string::npos)
{
var = var.substr(0, pos);