diff options
Diffstat (limited to 'tests/auto/websockets/websocketframe/tst_websocketframe.cpp')
-rw-r--r-- | tests/auto/websockets/websocketframe/tst_websocketframe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/websockets/websocketframe/tst_websocketframe.cpp b/tests/auto/websockets/websocketframe/tst_websocketframe.cpp index bbf0e5f..7046657 100644 --- a/tests/auto/websockets/websocketframe/tst_websocketframe.cpp +++ b/tests/auto/websockets/websocketframe/tst_websocketframe.cpp @@ -541,7 +541,7 @@ void tst_WebSocketFrame::tst_malformedFrames_data() //too much data { const char bigpayloadIndicator = char(127); - const quint64 payloadSize = MAX_FRAME_SIZE_IN_BYTES + 1; + const quint64 payloadSize = QWebSocketFrame::maxFrameSize() + 1; uchar swapped[8] = {0}; qToBigEndian<quint64>(payloadSize, swapped); QTest::newRow("Frame too big") |