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.sip2
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/qtnetwork/qsocketdevice.sip b/sip/qtnetwork/qsocketdevice.sip
index 12d6b67..32ee5e5 100644
--- a/sip/qtnetwork/qsocketdevice.sip
+++ b/sip/qtnetwork/qsocketdevice.sip
@@ -123,7 +123,7 @@ public:
Py_INCREF(Py_None);
sipRes = Py_None;
}
- else if ((sipRes = SIPBytes_FromStringAndSize(buf,actlen)) == NULL)
+ else if ((sipRes = PyBytes_FromStringAndSize(buf,actlen)) == NULL)
sipIsErr = 1;
sipFree((void *)buf);