[Orxonox-commit 942] r5665 - code/branches/libraries/src/core
rgrieder at orxonox.net
rgrieder at orxonox.net
Fri Aug 21 09:32:45 CEST 2009
Author: rgrieder
Date: 2009-08-21 09:32:44 +0200 (Fri, 21 Aug 2009)
New Revision: 5665
Modified:
code/branches/libraries/src/core/Core.cc
Log:
Fixed build for Unix.
Modified: code/branches/libraries/src/core/Core.cc
===================================================================
--- code/branches/libraries/src/core/Core.cc 2009-08-20 21:49:37 UTC (rev 5664)
+++ code/branches/libraries/src/core/Core.cc 2009-08-21 07:32:44 UTC (rev 5665)
@@ -283,7 +283,7 @@
// Add that path to the PATH variable in case a plugin depends on another one
std::string pathVariable = getenv("PATH");
- putenv(("PATH=" + pathVariable + ";" + configuration_->pluginPath_.string()).c_str());
+ putenv(const_cast<char*>(("PATH=" + pathVariable + ";" + configuration_->pluginPath_.string()).c_str()));
boost::filesystem::directory_iterator file(searchpath);
boost::filesystem::directory_iterator end;
More information about the Orxonox-commit
mailing list