diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-01-13 15:44:23 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-01-13 15:44:23 +0000 |
commit | cc56b7f93bb3ed8226b39b0cb5d8abe7bb27dec0 (patch) | |
tree | 6078018a508da167c9dc769b4d55f3de8240b15a /py/modules/IcePy/Communicator.cpp | |
parent | Fix for bug 767 (diff) | |
download | ice-cc56b7f93bb3ed8226b39b0cb5d8abe7bb27dec0.tar.bz2 ice-cc56b7f93bb3ed8226b39b0cb5d8abe7bb27dec0.tar.xz ice-cc56b7f93bb3ed8226b39b0cb5d8abe7bb27dec0.zip |
Fixed compilation error on 64bits platforms
Diffstat (limited to 'py/modules/IcePy/Communicator.cpp')
-rw-r--r-- | py/modules/IcePy/Communicator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modules/IcePy/Communicator.cpp b/py/modules/IcePy/Communicator.cpp index a5b64388546..ad4676cca5f 100644 --- a/py/modules/IcePy/Communicator.cpp +++ b/py/modules/IcePy/Communicator.cpp @@ -151,7 +151,7 @@ communicatorInit(CommunicatorObject* self, PyObject* args, PyObject* /*kwds*/) // Remaining command line options are passed to the communicator // as an argument vector in case they contain plugin properties. // - int argc = seq.size(); + int argc = static_cast<int>(seq.size()); char** argv = new char*[argc + 1]; int i = 0; for(Ice::StringSeq::const_iterator s = seq.begin(); s != seq.end(); ++s, ++i) |