[Cmake-commits] [cmake-commits] david.cole committed cmSystemTools.cxx 1.386 1.387

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Nov 26 15:41:18 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv5284/Source

Modified Files:
	cmSystemTools.cxx 
Log Message:
COMP: Using the proper type for local variables can eliminate compiler warnings.


Index: cmSystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSystemTools.cxx,v
retrieving revision 1.386
retrieving revision 1.387
diff -C 2 -d -r1.386 -r1.387
*** cmSystemTools.cxx	26 Nov 2008 19:38:43 -0000	1.386
--- cmSystemTools.cxx	26 Nov 2008 20:41:16 -0000	1.387
***************
*** 1613,1617 ****
      std::string var(*eit);
  
!     int pos = var.find("=");
      if (pos != std::string::npos)
        {
--- 1613,1617 ----
      std::string var(*eit);
  
!     std::string::size_type pos = var.find("=");
      if (pos != std::string::npos)
        {



More information about the Cmake-commits mailing list