summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Current.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-03-29 15:00:48 +0200
committerJose <jose@zeroc.com>2016-03-29 15:00:48 +0200
commit8358545598906f014c4a3ccb78890e398ec08be0 (patch)
treedf70b3d40df38cd5e4029795598562aaa1e8a466 /python/modules/IcePy/Current.cpp
parentBuild test controller with test targets (diff)
downloadice-8358545598906f014c4a3ccb78890e398ec08be0.tar.bz2
ice-8358545598906f014c4a3ccb78890e398ec08be0.tar.xz
ice-8358545598906f014c4a3ccb78890e398ec08be0.zip
Python VS2015 x64 build fixes
Diffstat (limited to 'python/modules/IcePy/Current.cpp')
-rw-r--r--python/modules/IcePy/Current.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/modules/IcePy/Current.cpp b/python/modules/IcePy/Current.cpp
index 9832d1913a6..7afb2461dd4 100644
--- a/python/modules/IcePy/Current.cpp
+++ b/python/modules/IcePy/Current.cpp
@@ -113,7 +113,7 @@ currentGetter(CurrentObject* self, void* closure)
assert(self->current);
- long field = reinterpret_cast<long>(closure);
+ Py_ssize_t field = reinterpret_cast<Py_ssize_t>(closure);
switch(field)
{
case CURRENT_ADAPTER: