summaryrefslogtreecommitdiffstats
path: root/sip/tdeio/kacl.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdeio/kacl.sip')
-rw-r--r--sip/tdeio/kacl.sip2
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/tdeio/kacl.sip b/sip/tdeio/kacl.sip
index 2156e3b..31059f0 100644
--- a/sip/tdeio/kacl.sip
+++ b/sip/tdeio/kacl.sip
@@ -152,7 +152,7 @@ typedef ACLUserPermissionsList ACLGroupPermissionsList;
delete cpplist;
return 0;
}
- ushort p2 = (ushort)(PyInt_AS_LONG (PyTuple_GET_ITEM (elem, 1)));
+ ushort p2 = (ushort)(PyLong_AS_LONG (PyTuple_GET_ITEM (elem, 1)));
cpplist->append (ACLUserPermissions (*p1, p2));