summaryrefslogtreecommitdiffstats
path: root/sip/tdecore/netwm.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdecore/netwm.sip')
-rw-r--r--sip/tdecore/netwm.sip12
1 files changed, 6 insertions, 6 deletions
diff --git a/sip/tdecore/netwm.sip b/sip/tdecore/netwm.sip
index 48dcbbf..ac27f60 100644
--- a/sip/tdecore/netwm.sip
+++ b/sip/tdecore/netwm.sip
@@ -52,7 +52,7 @@ public:
unsigned long *list = new unsigned long [count];
for (int i = 0; i < count; i++)
- list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i));
+ list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i));
Py_BEGIN_ALLOW_THREADS
Display *d = tqt_xdisplay ();
@@ -83,7 +83,7 @@ public:
unsigned long *list = new unsigned long [count];
for (int i = 0; i < count; i++)
- list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i));
+ list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i));
Py_BEGIN_ALLOW_THREADS
Display *d = tqt_xdisplay ();
@@ -369,7 +369,7 @@ public:
unsigned long *list = new unsigned long [count];
for (int i = 0; i < count; i++)
- list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i));
+ list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i));
Py_BEGIN_ALLOW_THREADS
Display *d = tqt_xdisplay ();
@@ -410,7 +410,7 @@ public:
unsigned long *list = new unsigned long [count];
for (int i = 0; i < count; i++)
- list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i));
+ list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i));
Py_BEGIN_ALLOW_THREADS
Display *d = tqt_xdisplay ();
@@ -449,7 +449,7 @@ public:
unsigned long *list = new unsigned long [count];
for (int i = 0; i < count; i++)
- list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i));
+ list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i));
Py_BEGIN_ALLOW_THREADS
Display *d = tqt_xdisplay ();
@@ -494,7 +494,7 @@ public:
unsigned long *list = new unsigned long [count];
for (int i = 0; i < count; i++)
- list [i] = (unsigned long)PyInt_AS_LONG (PyList_GET_ITEM (a2, i));
+ list [i] = (unsigned long)PyLong_AS_LONG (PyList_GET_ITEM (a2, i));
Py_BEGIN_ALLOW_THREADS
Display *d = tqt_xdisplay ();