diff options
author | Matthew Newhook <matthew@zeroc.com> | 2008-05-10 09:06:42 +0800 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2008-05-10 09:06:42 +0800 |
commit | 5d594c641d8229b3004933465d412a0370221632 (patch) | |
tree | 24be1f31ae08d913d16694ae77505bff6cd7eba9 /cpp | |
parent | fix bug with makesldist.py. (diff) | |
download | ice-5d594c641d8229b3004933465d412a0370221632.tar.bz2 ice-5d594c641d8229b3004933465d412a0370221632.tar.xz ice-5d594c641d8229b3004933465d412a0370221632.zip |
fix 64-bit build problem.
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/IceUtil/ArgVector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/ArgVector.cpp b/cpp/src/IceUtil/ArgVector.cpp index 4f7dc1bc910..1bdefcda492 100644 --- a/cpp/src/IceUtil/ArgVector.cpp +++ b/cpp/src/IceUtil/ArgVector.cpp @@ -52,7 +52,7 @@ IceUtilInternal::ArgVector::~ArgVector() void IceUtilInternal::ArgVector::setupArgcArgv() { - argc = _args.size(); + argc = static_cast<int>(_args.size()); if((argv = new char*[argc + 1]) == 0) { throw ::std::bad_alloc(); |