summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/PythonUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rw-r--r--cpp/src/Slice/PythonUtil.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp
index 87bc16b3eab..6f4beebf727 100644
--- a/cpp/src/Slice/PythonUtil.cpp
+++ b/cpp/src/Slice/PythonUtil.cpp
@@ -1235,8 +1235,7 @@ Slice::Python::CodeVisitor::visitConst(const ConstPtr& p)
case Slice::Builtin::KindLong:
{
IceUtil::Int64 l;
- string::size_type pos;
- IceUtil::stringToInt64(value, l, pos);
+ IceUtil::stringToInt64(value, l);
//
// The platform's 'long' type may not be 64 bits, so we store 64-bit
// values as a string.