summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Forward.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/Forward.cpp')
-rw-r--r--cpp/src/IcePack/Forward.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePack/Forward.cpp b/cpp/src/IcePack/Forward.cpp
index 390cdc7945c..cfdf25e3bde 100644
--- a/cpp/src/IcePack/Forward.cpp
+++ b/cpp/src/IcePack/Forward.cpp
@@ -31,7 +31,7 @@ IcePack::Forward::Forward(const CommunicatorPtr& communicator, const AdminPtr& a
value = properties->getProperty("IcePack.Activator.WaitTime");
if (value.length())
{
- _waitTime = atoi(value);
+ _waitTime = atoi(value.c_str());
if (_waitTime < 0)
{
_waitTime = 0;