Revision: 7701
http://playerstage.svn.sourceforge.net/playerstage/?rev=7701&view=rev
Author: natepak
Date: 2009-05-20 18:07:23 +0000 (Wed, 20 May 2009)
Log Message:
-----------
Fixed warning
Modified Paths:
--------------
code/gazebo/trunk/server/GazeboConfig.cc
code/gazebo/trunk/server/main.cc
Modified: code/gazebo/trunk/server/GazeboConfig.cc
===================================================================
--- code/gazebo/trunk/server/GazeboConfig.cc 2009-05-20 17:13:28 UTC (rev
7700)
+++ code/gazebo/trunk/server/GazeboConfig.cc 2009-05-20 18:07:23 UTC (rev
7701)
@@ -64,7 +64,7 @@
std::string str(ogre_resource_path);
int pos1 = 0;
int pos2 = str.find(delim);
- while (pos2 != std::string::npos)
+ while (pos2 != (int)std::string::npos)
{
this->ogrePaths.push_back(str.substr(pos1,pos2-pos1+1));
pos1 = pos2+1;
@@ -78,7 +78,7 @@
std::string str(gazebo_resource_path);
int pos1 = 0;
int pos2 = str.find(delim);
- while (pos2 != std::string::npos)
+ while (pos2 != (int)std::string::npos)
{
this->gazeboPaths.push_back(str.substr(pos1,pos2-pos1));
pos1 = pos2+1;
Modified: code/gazebo/trunk/server/main.cc
===================================================================
--- code/gazebo/trunk/server/main.cc 2009-05-20 17:13:28 UTC (rev 7700)
+++ code/gazebo/trunk/server/main.cc 2009-05-20 18:07:23 UTC (rev 7701)
@@ -297,7 +297,7 @@
{
std::cerr << "Error Loading Gazebo" << std::endl;
std::cerr << e << std::endl;
- gazebo::Simulator::Instance()->Close();
+ gazebo::Simulator::Instance()->Fini();
return -1;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit