summaryrefslogtreecommitdiffstats
path: root/sip/qtnetwork/qsocketdevice.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qtnetwork/qsocketdevice.sip')
-rw-r--r--sip/qtnetwork/qsocketdevice.sip4
1 files changed, 2 insertions, 2 deletions
diff --git a/sip/qtnetwork/qsocketdevice.sip b/sip/qtnetwork/qsocketdevice.sip
index 41da2f5..bbaa008 100644
--- a/sip/qtnetwork/qsocketdevice.sip
+++ b/sip/qtnetwork/qsocketdevice.sip
@@ -145,7 +145,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);
@@ -176,7 +176,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);