summaryrefslogtreecommitdiffstats
path: root/sip/tdecore/bytearray.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdecore/bytearray.sip')
-rw-r--r--sip/tdecore/bytearray.sip14
1 files changed, 7 insertions, 7 deletions
diff --git a/sip/tdecore/bytearray.sip b/sip/tdecore/bytearray.sip
index 743aff6..046939b 100644
--- a/sip/tdecore/bytearray.sip
+++ b/sip/tdecore/bytearray.sip
@@ -141,7 +141,7 @@ void dcop_next (TQDataStream&, TQCString&);
{
TQ_INT8 res;
*a0 >> res;
- return PyInt_FromLong ((long)res);
+ return PyLong_FromLong ((long)res);
}
else if (*a1 == "bool")
{
@@ -153,7 +153,7 @@ void dcop_next (TQDataStream&, TQCString&);
{
int res;
*a0 >> res;
- return PyInt_FromLong ((long)res);
+ return PyLong_FromLong ((long)res);
}
else if (*a1 == "long")
{
@@ -165,19 +165,19 @@ void dcop_next (TQDataStream&, TQCString&);
{
short res;
*a0 >> res;
- return PyInt_FromLong ((long)res);
+ return PyLong_FromLong ((long)res);
}
if (*a1 == "uchar" || *a1 == "unsigned char")
{
TQ_UINT8 res;
*a0 >> res;
- return PyInt_FromLong ((long)res);
+ return PyLong_FromLong ((long)res);
}
else if (*a1 == "uint" || *a1 == "unsigned int")
{
unsigned int res;
*a0 >> res;
- return PyInt_FromLong ((long)res);
+ return PyLong_FromLong ((long)res);
}
else if (*a1 == "ulong" || *a1 == "unsigned long")
{
@@ -201,7 +201,7 @@ void dcop_next (TQDataStream&, TQCString&);
{
unsigned short res;
*a0 >> res;
- return PyInt_FromLong ((long)res);
+ return PyLong_FromLong ((long)res);
}
else if (*a1 == "float")
{
@@ -315,7 +315,7 @@ void dcop_next (TQDataStream&, TQCString&);
{
unsigned int res;
*a0 >> res;
- return PyInt_FromLong ((long)res);
+ return PyLong_FromLong ((long)res);
}
else if (*a1 == "DCOPRef")
{