diff options
Diffstat (limited to 'python/modules/IcePy/Current.cpp')
-rw-r--r-- | python/modules/IcePy/Current.cpp | 2 |
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: |