summaryrefslogtreecommitdiffstats
path: root/sip/qt/qfile.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qfile.sip')
-rw-r--r--sip/qt/qfile.sip8
1 files changed, 4 insertions, 4 deletions
diff --git a/sip/qt/qfile.sip b/sip/qt/qfile.sip
index f11da7f..38d91c3 100644
--- a/sip/qt/qfile.sip
+++ b/sip/qt/qfile.sip
@@ -167,7 +167,7 @@ public:
Py_INCREF(Py_None);
sipRes = Py_None;
}
- else if ((sipRes = PyString_FromStringAndSize(buf,actlen)) == NULL)
+ else if ((sipRes = SIPBytes_FromStringAndSize(buf,actlen)) == NULL)
sipIsErr = 1;
sipFree((void *)buf);
@@ -196,7 +196,7 @@ public:
Py_INCREF(Py_None);
sipRes = Py_None;
}
- else if ((sipRes = PyString_FromStringAndSize(buf,actlen)) == NULL)
+ else if ((sipRes = SIPBytes_FromStringAndSize(buf,actlen)) == NULL)
sipIsErr = 1;
sipFree((void *)buf);
@@ -238,7 +238,7 @@ public:
}
else
{
- sipRes = PyString_FromStringAndSize(buf,actlen);
+ sipRes = SIPBytes_FromStringAndSize(buf,actlen);
sipFree((void *)buf);
@@ -272,7 +272,7 @@ public:
}
else
{
- sipRes = PyString_FromStringAndSize(buf,actlen);
+ sipRes = SIPBytes_FromStringAndSize(buf,actlen);
sipFree((void *)buf);