Commit 306d517e authored by David Cole's avatar David Cole
Browse files

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

parent ceaef94c
......@@ -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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment